mirror of
https://github.com/wavetermdev/waveterm.git
synced 2025-01-17 20:51:55 +01:00
Remove unnecessary await in emain (#47)
This commit is contained in:
parent
b2b1f9b9df
commit
8ad109dc03
@ -251,7 +251,7 @@ process.on("SIGUSR1", function () {
|
|||||||
"window:" + clientData.mainwindowid
|
"window:" + clientData.mainwindowid
|
||||||
)) as WaveWindow;
|
)) as WaveWindow;
|
||||||
await electronApp.whenReady();
|
await electronApp.whenReady();
|
||||||
await createWindow(clientData, windowData);
|
createWindow(clientData, windowData);
|
||||||
|
|
||||||
electronApp.on("activate", () => {
|
electronApp.on("activate", () => {
|
||||||
if (electron.BrowserWindow.getAllWindows().length === 0) {
|
if (electron.BrowserWindow.getAllWindows().length === 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user