-
-
Notifications
You must be signed in to change notification settings - Fork 817
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move package to Trash if removal is rejected by OS
Fixes #1418 This commit sends removed packages to "Trash", if their file is still locked by Windows OS. That's most likely caused by external processes interacting with that file, which may be anti-virus programs or Sublime Merge holding a lock due to using the package. Renaming triggers unloading and thus frees the lock. Trash is cleared at next ST startup. That's basically the same strategy used to remove libraries.
- Loading branch information
Showing
1 changed file
with
25 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters