Skip to content

Commit

Permalink
Merge pull request #2175 from malakaganga/hotdep
Browse files Browse the repository at this point in the history
Fix issue of unable to undeploy libs
  • Loading branch information
malakaganga authored Apr 24, 2024
2 parents 41c9b82 + 78ccac6 commit 2e373c6
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 2e373c6

Please sign in to comment.