fixed manager trying to release locks it didnt have
This commit is contained in:
parent
4aa0a648f9
commit
92fb02b0bf
1 changed files with 0 additions and 2 deletions
|
|
@ -67,9 +67,7 @@ class ProcessManager {
|
||||||
|
|
||||||
try {
|
try {
|
||||||
ProcessController newProc = new ProcessController(command, this.LOCK_TIMEOUT);
|
ProcessController newProc = new ProcessController(command, this.LOCK_TIMEOUT);
|
||||||
// we dont need to lock the map yet
|
|
||||||
this.processMap.put(newProc.getPid(), newProc);
|
this.processMap.put(newProc.getPid(), newProc);
|
||||||
this.releaseLock(newProc.getPid());
|
|
||||||
return newProc.getPid();
|
return newProc.getPid();
|
||||||
|
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue