Search in sources :

Example 1 with TerminalSessionStoppedEvent

use of org.rstudio.studio.client.workbench.views.terminal.events.TerminalSessionStoppedEvent in project rstudio by rstudio.

the class TerminalSession method onProcessExit.

@Override
public void onProcessExit(ProcessExitEvent event) {
    unregisterHandlers();
    if (consoleProcess_ != null) {
        consoleProcess_.reap(new VoidServerRequestCallback());
    }
    eventBus_.fireEvent(new TerminalSessionStoppedEvent(this));
}
Also used : TerminalSessionStoppedEvent(org.rstudio.studio.client.workbench.views.terminal.events.TerminalSessionStoppedEvent) VoidServerRequestCallback(org.rstudio.studio.client.server.VoidServerRequestCallback)

Aggregations

VoidServerRequestCallback (org.rstudio.studio.client.server.VoidServerRequestCallback)1 TerminalSessionStoppedEvent (org.rstudio.studio.client.workbench.views.terminal.events.TerminalSessionStoppedEvent)1