diff --git a/CHANGELOG.md b/CHANGELOG.md index 0ad8dcf..55a6b79 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +# 0.4.0+6 + +- Fix executePendingJobs (wasn't dispatching in the most current version) # 0.4.0+5 - Removed console.log from fetch.js diff --git a/example/pubspec.lock b/example/pubspec.lock index 798a6e7..67a2d8f 100644 --- a/example/pubspec.lock +++ b/example/pubspec.lock @@ -75,7 +75,7 @@ packages: path: ".." relative: true source: path - version: "0.4.0+5" + version: "0.4.0+6" flutter_test: dependency: "direct dev" description: flutter diff --git a/lib/quickjs/quickjs_runtime2.dart b/lib/quickjs/quickjs_runtime2.dart index 1dd7bc7..4ac2fe0 100644 --- a/lib/quickjs/quickjs_runtime2.dart +++ b/lib/quickjs/quickjs_runtime2.dart @@ -214,7 +214,7 @@ class QuickJsRuntime2 extends JavascriptRuntime { @override int executePendingJob() { - _executePendingJob(); + this.dispatch(); return 0; } diff --git a/pubspec.yaml b/pubspec.yaml index d1cb8fc..46008eb 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,7 +1,7 @@ name: flutter_js description: A Javascript engine to use with flutter. It uses Quickjs on Android and JavascriptCore on IOS -version: 0.4.0+5 +version: 0.4.0+6 homepage: https://github.com/abner/flutter_js repository: https://github.com/abner/flutter_js