Skip to content
This repository was archived by the owner on Jun 11, 2024. It is now read-only.

Commit 3ca5589

Browse files
committed
destroy mitmproxy process on shutdown
1 parent ee7c10c commit 3ca5589

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

browserup-proxy-core/src/main/java/com/browserup/bup/mitmproxy/MitmProxyProcessManager.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ private void startProxy(int port, List<AbstractAddon> addons) {
154154
String logPrefix = "MitmProxy[" + this.proxyPort + "]: ";
155155
ProcessExecutor processExecutor = new ProcessExecutor(command)
156156
.readOutput(true)
157+
.destroyOnExit()
157158
.redirectOutput(Slf4jStream.ofCaller().asInfo())
158159
.redirectOutput(new LogOutputStream() {
159160
@Override

0 commit comments

Comments
 (0)