Skip to content

Commit

Permalink
Merge pull request #54 from LucaBoss74/patch-1
Browse files Browse the repository at this point in the history
Update quickjs_runtime2.dart
  • Loading branch information
abner authored Sep 5, 2021
2 parents 56c8be2 + 22e4cf5 commit de4c081
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/quickjs/quickjs_runtime2.dart
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,7 @@ class QuickJsRuntime2 extends JavascriptRuntime {
.channelFunctionsRegistered[getEngineInstanceId()]!;

if (channelFunctions.containsKey(channelName)) {
channelFunctions[channelName]!.call(jsonDecode(message));
return channelFunctions[channelName]!.call(jsonDecode(message));
} else {
print('No channel $channelName registered');
}
Expand Down

0 comments on commit de4c081

Please sign in to comment.