Skip to content

Commit 9628096

Browse files
committed
add shutdown of executor
1 parent 7ea8d62 commit 9628096

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

  • debugger/browser-debugger-impl/src/main/java/consulo/javascript/debugger/browser/process

debugger/browser-debugger-impl/src/main/java/consulo/javascript/debugger/browser/process/CDTProcess.java

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
import java.util.HashMap;
3737
import java.util.List;
3838
import java.util.Map;
39-
import java.util.concurrent.Executor;
39+
import java.util.concurrent.ExecutorService;
4040
import java.util.function.Consumer;
4141

4242
/**
@@ -54,7 +54,7 @@ public class CDTProcess extends XDebugProcess {
5454

5555
private ChromeDevTools myChromeDevTools;
5656

57-
private Executor myExecutor;
57+
private ExecutorService myExecutor;
5858

5959
private Map<String, CDTBreakpointInfo> myBreakpoints = new HashMap<>();
6060

@@ -216,7 +216,8 @@ public void startStepOut(@Nullable XSuspendContext context) {
216216

217217
@Override
218218
public void stop() {
219-
// TODO !myVm.detach();
219+
myExecutor.shutdown();
220+
220221
myBreakpoints.clear();
221222

222223
Application.get().runReadAction(new Runnable() {

0 commit comments

Comments
 (0)