Skip to content

Commit

Permalink
Fix issue of unable to undeploy libs
Browse files Browse the repository at this point in the history
  • Loading branch information
malakaganga committed Apr 24, 2024
1 parent 41c9b82 commit 78ccac6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -2062,7 +2062,7 @@ public static void removeOneDeployedLib(String name) {
Map.Entry<Library, Integer> libraryCountEntry = deployedLibs.get(name);
if (libraryCountEntry != null) {
Integer count = libraryCountEntry.getValue();
if (count > 0) {
if (count > 1) {
count--;
libraryCountEntry.setValue(count);
} else {
Expand Down

0 comments on commit 78ccac6

Please sign in to comment.