normal shutdown will immediate shutdown framework also jdk regard exists non-deamon thread also console thread
but async shutdown will immediate shutdown framework but wait non-deamon thread complete before exit jdk in case has console thread (run with -console) then console thread don't complete so jdk also don't exit i do a project demo it here https://github.com/hieplq/vn.hieplq.asynshutdown 1. import this project into eclipse 2. The project has 2 applications, one does normal shutdown and one does async shutdown 3. applicate simple run a non-daemon thread on 1 minute and a job thread as main application 4. has 4 launcher for 4 case - normal shutdown without console - normal shutdown with console - async shutdown without console - async shutdown with console Do you think it's a feature or bug? in case it's feature how i terminal jdk when i exit async an application run with console? Lê Quý Hiệp Email: [email protected] Skype: admin.hasuvimex *Company: **Thanh Hoa Fishery Import - Export J.s.c (**Hasuvimex) DL 47* *Add:* Lot E, Le Mon Industrial Zone, Thanh Hoa, Vietnam
_______________________________________________ equinox-dev mailing list [email protected] To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/equinox-dev
