techedstudios commited on
Commit
0be0ca4
·
1 Parent(s): 7d04c16

Fix: Force kill Playit tunnel on server stop

Browse files
Files changed (1) hide show
  1. backend/process-manager.js +1 -1
backend/process-manager.js CHANGED
@@ -439,7 +439,7 @@ remote_port = ${server.port}
439
  // Stop tunnel agent if running
440
  const tunnelProc = this.tunnelProcesses.get(serverId);
441
  if (tunnelProc) {
442
- tunnelProc.kill();
443
  this.tunnelProcesses.delete(serverId);
444
  }
445
 
 
439
  // Stop tunnel agent if running
440
  const tunnelProc = this.tunnelProcesses.get(serverId);
441
  if (tunnelProc) {
442
+ tunnelProc.kill('SIGKILL');
443
  this.tunnelProcesses.delete(serverId);
444
  }
445