does the async operation in flutter still running even when the app is closed or killed off

1.1k Views Asked by At

I want to do some async operations that involve writing to local database only when the state of the app is InActive or Paused but what if the async operation while it is running and suddenly the app is closed

does that operation still working until it finishes it's task or not ??

1

There are 1 best solutions below

0
Tonny Bawembye On

No Flutter kills the process when you close the app.

Reference : https://medium.com/mindorks/asynchronous-programming-in-dart-flutter-part-1-dde723332698