Skip to content

Commit

Permalink
unsubscribe from console process events on processStart error
Browse files Browse the repository at this point in the history
  • Loading branch information
jjallaire committed Dec 22, 2011
1 parent 9c61d36 commit d17047d
Showing 1 changed file with 6 additions and 0 deletions.
Expand Up @@ -170,6 +170,12 @@ public void onError(ServerError error)
{
// Show error and stop
super.onError(error);

// if this is showOnOutput_ then we will never get
// a ProcessExitEvent or an onUnload so we should unsubscribe
// from events here
registrations_.removeHandler();

closeDialog();
}
});
Expand Down

0 comments on commit d17047d

Please sign in to comment.