We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad69969 commit eed539aCopy full SHA for eed539a
src/main/java/com/pusher/client/crypto/nacl/Sodium.java
@@ -7,7 +7,7 @@ public abstract class Sodium {
7
8
private static LazySodiumJava lazySodium = null;
9
10
- public static LazySodiumJava getInstance() {
+ public static synchronized LazySodiumJava getInstance() {
11
if (lazySodium == null) {
12
lazySodium = new LazySodiumJava(new SodiumJava());
13
}
0 commit comments