Skip to content

Commit d2ca35f

Browse files
author
Artem
committed
resolve review comments
1 parent 81f2be7 commit d2ca35f

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

redisinsight/main.dev.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -391,9 +391,7 @@ app.on('certificate-error', (event, _webContents, _url, _error, _certificate, ca
391391

392392
app.on('quit', () => {
393393
try {
394-
if (backendGracefulShutdown) {
395-
backendGracefulShutdown();
396-
}
394+
backendGracefulShutdown?.();
397395
} catch (e) {
398396
// ignore any error
399397
}

0 commit comments

Comments
 (0)