Skip to content

Commit 73cc539

Browse files
committed
remove destroy flutter engine
1 parent f3e717b commit 73cc539

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

android/src/main/kotlin/dev/fluttercommunity/workmanager/BackgroundWorker.kt

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -137,12 +137,6 @@ class BackgroundWorker(
137137
if (result != null) {
138138
this.completer?.set(result)
139139
}
140-
141-
// If stopEngine is called from `onStopped`, it may not be from the main thread.
142-
Handler(Looper.getMainLooper()).post {
143-
engine?.destroy()
144-
engine = null
145-
}
146140
}
147141

148142
override fun onMethodCall(call: MethodCall, r: MethodChannel.Result) {

0 commit comments

Comments
 (0)