Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix locking error in WSL machine rm -f
Fixed a bug where `podman machine rm -f` would cause a deadlock when running with WSL. The deadlock is caused by the Remove() function calling the Stop() function after Remove() locks the VM. Stop() also has a lock call, which fails and deadlocks because Remove() already claimed lock. Fix this by moving the stop call before the lock [NO NEW TESTS NEEDED] Signed-off-by: Ashley Cui <[email protected]>
- Loading branch information