mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
git4idea: IDEADEV-42214: fixed bug in lock suspending/resuming logic
This commit is contained in:
@@ -246,6 +246,7 @@ public class GitHandlerUtil {
|
||||
}
|
||||
else {
|
||||
handler.myVcs.getCommandLock().writeLock().unlock();
|
||||
suspended = true;
|
||||
}
|
||||
}
|
||||
else if (action == RESUME) {
|
||||
@@ -254,6 +255,7 @@ public class GitHandlerUtil {
|
||||
}
|
||||
else {
|
||||
handler.myVcs.getCommandLock().writeLock().lock();
|
||||
suspended = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user