window_manager icon indicating copy to clipboard operation
window_manager copied to clipboard

[Windows] Calling destroy() method is crashing the app and app is not responding anymore.

Open KristijanMitrik opened this issue 10 months ago • 2 comments

Expected result : app gets closed immediately after calling destroy method

KristijanMitrik avatar Apr 15 '24 09:04 KristijanMitrik

I also face this issue on version 0.3.9. And it happens in release build only, which is even more strange...

Arley011 avatar Jul 22 '24 09:07 Arley011

For those looking for a solution, a workaround can be found here: https://github.com/leanflutter/window_manager/issues/478#issuecomment-2312763103

In my case, I simply added exit(0) when closing the app from the tray icon menu: windowManager.destroy().then((_) => exit(0));

kibsoft avatar Sep 20 '24 10:09 kibsoft