Skip to content

Commit 9d757eb

Browse files
Fix questionable check
1 parent 9973554 commit 9d757eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/controllers/SessionController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class SessionController implements SLWebSocketEventListener {
2929
}
3030

3131
static getInstance(): SessionController {
32-
if (SessionController.instance == null) {
32+
if (!SessionController.instance) {
3333
const instance = new SessionController();
3434
SessionController.instance = instance;
3535
}

0 commit comments

Comments
 (0)