File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -3942,9 +3942,11 @@ namespace Legion {
39423942 if (runtime->profiler != NULL )
39433943 runtime->profiler ->handle_failed_instance_allocation ();
39443944 }
3945+ fevent = current_unique_event;
39453946 // No matter what trigger the event
3947+ // Can't read anything after trigger the event as the object
3948+ // might be deleted after we do that
39463949 Runtime::trigger_event (profiling_ready);
3947- fevent = current_unique_event;
39483950 return true ;
39493951 }
39503952
Original file line number Diff line number Diff line change @@ -11029,8 +11029,10 @@ namespace Legion {
1102911029 assert(measured);
1103011030#endif
1103111031 success.store(result.success);
11032- Runtime::trigger_event(ready);
1103311032 fevent = unique_event;
11033+ // Can't read anything after trigger the event as the object
11034+ // might be deleted after we do that
11035+ Runtime::trigger_event(ready);
1103411036 return true;
1103511037 }
1103611038
You can’t perform that action at this time.
0 commit comments