On 8/31/2020 14:26, ede wrote:
> tl;dr Runtime.addShutdownHook() should run
> com.vividsolutions.jump.workbench.ui.WorkbenchFrame.closeApplication() done.
>
> implemented for testing in r6400
well. according to my tests that does a lot of nothing.in the best case
1.
run with 'java' so you have a console you can Ctrl+C in
gui is killed and java process hangs, probably in the "wanna save?" dialog.
2.
any other case
java killed, dead!
tested on Win10x64 with adoptopenjdk-1.8.0_265 64bit
..ede
---
** [bugs:#322] OJ stops without warnings on system shutdown**
**Status:** pending
**Milestone:** OJ_1.16
**Created:** Fri May 24, 2013 08:44 PM UTC by Jukka Rahkonen
**Last Updated:** Mon Aug 31, 2020 12:26 PM UTC
**Owner:** ede
Tested with version 1.6.1 release on Windows.
If there are layers with unsaved edits in OpenJUMP and user ask computer to
shut down, OpenJUMP is closed without any warnings and unsaved edits are lost.
For comparison, Kosmo GIS 3.0 is keeping the computer in such a state that
operating system sends a message that Kosmo prevents the shutdown and asks if
user wants to cancel or do a forced shutdown.
---
Sent from sourceforge.net because jump-pilot-devel@lists.sourceforge.net is
subscribed to https://sourceforge.net/p/jump-pilot/bugs/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/jump-pilot/admin/bugs/options. Or, if this is a
mailing list, you can unsubscribe from the mailing list.
_______________________________________________
Jump-pilot-devel mailing list
Jump-pilot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jump-pilot-devel