Skip to content
Permalink
Browse files
register the server starter run thread with the phaser to prevent shu…
…tdown before the shutdown task is registered
  • Loading branch information
djencks committed Jun 5, 2015
1 parent 7b46aa0 commit c14541aafde98e84b90d54ad6efd795ee321a6dd
Showing 1 changed file with 2 additions and 0 deletions.
@@ -86,6 +86,7 @@ public void run() {

logger.fine("GIOPServer thread started " + this + " using acceptor " + acceptor);
try {
orbInstance_.getServerPhaser().register();
//
// Retrieve the thread group for the servers
//
@@ -254,6 +255,7 @@ public void starterRun() {

if (state_ == StateClosed) {
logger.fine("Shutting down server thread");
orbInstance_.getServerPhaser().arrive();
break;
}
}

0 comments on commit c14541a

Please sign in to comment.