Skip to content
Permalink
Browse files
Correct phaser usage to deregister parties as they arrive
  • Loading branch information
djencks committed Aug 4, 2016
1 parent e9379fd commit 549b090454c6cab5737b2ce2ad1c4cc4c6bc91f1
Showing 1 changed file with 2 additions and 2 deletions.
@@ -244,9 +244,9 @@ synchronized protected void gracefulShutdown() {

private void arrive() {
if ((properties_ & Property.CreatedByClient) != 0)
orbInstance_.getClientPhaser().arrive();
orbInstance_.getClientPhaser().arriveAndDeregister();
else
orbInstance_.getServerPhaser().arrive();
orbInstance_.getServerPhaser().arriveAndDeregister();
}

// ----------------------------------------------------------------

0 comments on commit 549b090

Please sign in to comment.