Skip to content

Commit

Permalink
fix(wallet): clear semaphore from map once done
Browse files Browse the repository at this point in the history
  • Loading branch information
baktun14 committed Dec 15, 2024
1 parent bfcc3f6 commit 978cc6d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ export class WalletInitializerService {
return this.userWalletRepository.toPublic(userWallet);
} finally {
semaphore.release();
this.semaphores.delete(userId);
}
}

Expand Down

0 comments on commit 978cc6d

Please sign in to comment.