You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2018/11/30 08:15:04 UTC

[GitHub] sdedic commented on a change in pull request #1039: [NETBEANS-1743] Ignores NbLifecycleManager exit call while already ex…

sdedic commented on a change in pull request #1039: [NETBEANS-1743] Ignores NbLifecycleManager exit call while already ex…
URL: https://github.com/apache/incubator-netbeans/pull/1039#discussion_r237775498
 
 

 ##########
 File path: platform/o.n.core/src/org/netbeans/core/NbLifecycleManager.java
 ##########
 @@ -169,6 +169,10 @@ private void finishExitState(CountDownLatch cdl, boolean clean) {
     
     @Override
     public void exit(int status) {
+        if (isExiting()) {
 
 Review comment:
   I think this guard breaks behaviour specified in `LifecycleManager.exit` API docs. The call should not return if the system is (still) willing to exit.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists