| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent aa2db6b commit 7d55937
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -533,6 +533,12 @@ synchronized List<LineBreakpoint> getBreakpoints(String tabFilename) { | |||
| 533 | 533 | * @param es Incoming set of events from VM | |
| 534 | 534 | */ | |
| 535 | 535 | public synchronized void vmEvent(EventSet es) { | |
| 536 | + VirtualMachine vm = vm(); | ||
| 537 | + if (vm != null && vm != es.virtualMachine()) { | ||
| 538 | + // This is no longer VM we are interested in, | ||
| 539 | + // we already cleaned up and run different VM now. | ||
| 540 | + return; | ||
| 541 | + } | ||
| 536 | 542 | for (Event e : es) { | |
| 537 | 543 | log("*** VM Event: " + e); | |
| 538 | 544 | if (e instanceof VMStartEvent) { | |
| Back | FazBrowse Home | New Git URL |
0 commit comments