Skip to content

Commit

Permalink
don't always stop Shiny app when window closes (for Cocoa)
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcphers committed Jul 2, 2015
1 parent 474470f commit aca432d
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -170,7 +170,7 @@ public void onWindowClosed(WindowClosedEvent event)
return;

// stop the app if this event wasn't generated by a disconnect
if (params_ != null && disconnectingUrl_ == null)
if (params_ != null && disconnectingUrl_ == null && stopOnNextClose_)
{
params_.setState(ShinyApplicationParams.STATE_STOPPING);
notifyShinyAppClosed(params_);
Expand Down

1 comment on commit aca432d

@jjallaire
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

NEWS item here also

Please sign in to comment.