Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit b96df26

Browse files
committed
Ensure that when isolate shuts down it calls isolate_data, rather than isolage_group_data callback.
When isolates share same isolate group, it's important that when they shut down, relevant shutdown callback is invoked.
1 parent ee32896 commit b96df26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/dart_isolate.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -848,7 +848,7 @@ void DartIsolate::DartIsolateShutdownCallback(
848848
FML_DLOG(INFO) << "DartIsolateShutdownCallback"
849849
<< " isolate_group_data " << isolate_group_data
850850
<< " isolate_data " << isolate_data;
851-
isolate_group_data->get()->OnShutdownCallback();
851+
isolate_data->get()->OnShutdownCallback();
852852
}
853853

854854
// |Dart_IsolateGroupCleanupCallback|

0 commit comments

Comments
 (0)