Shutdown. We generally only call this when we're about to terminate the debugger.
(boolean closingApp)
| 416 | * |
| 417 | ********************************************************************************************/ |
| 418 | public void close(boolean closingApp) |
| 419 | { |
| 420 | // Close down any open kernel instances cleanly |
| 421 | if (isConnected()) |
| 422 | { |
| 423 | if (isRemote()) |
| 424 | { |
| 425 | this.remoteDisconnect(); |
| 426 | } |
| 427 | else |
| 428 | { |
| 429 | // Stop the local kernel -- keeping windows open as we will |
| 430 | // shut them down later in code. That allows us to save other |
| 431 | // information (like window positions etc) in a controlled |
| 432 | // manner. |
| 433 | this.stopLocalKernel(closingApp, true); |
| 434 | } |
| 435 | } |
| 436 | } |
| 437 | |
| 438 | protected void registerStandardKernelEvents() |
| 439 | { |
no test coverage detected