Timer inside flutter isolate not stopping when isolate is killed
问题 I have an app uploading joystick position data to a webserver using an API call. This method gets called when a joystick is moved. It stops any previously running isolate and starts a new isolate if the joystick is not in the centre. void onJoystickMoved(double angle, double distance) { stopIsolate(); if(distance > 0.06){ startIsolate(JoystickPosition.fromDistanceAndRadius(distance, angle)); } } The isolate start and stop methods Future<void> startIsolate(JoystickPosition position) async {