The WindowDestroy event which gets called when closing a window is not returning any value in the data i.e. forceClose value.
I am listening to the event in this manner:
_window?.on(EventType.WindowDestroy, (Window window, dynamic data)
The event call gets notified but data is empty.
Also seeing an error in the console:
W/FlutterJNI(17960): Tried to send a platform message to Flutter, but FlutterJNI was detached from native C++.
Could not send. Channel: im.zoe.labs/flutter_floatwing/window_msg. Response ID: 9
The
WindowDestroy
event which gets called when closing a window is not returning any value in thedata
i.e.forceClose
value.I am listening to the event in this manner:
_window?.on(EventType.WindowDestroy, (Window window, dynamic data)
The event call gets notified but data is empty.
Also seeing an error in the console: