@noxfly/noxus 1.1.5 → 1.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/noxus.js CHANGED
@@ -1229,7 +1229,8 @@ var _NoxApp = class _NoxApp {
1229
1229
  this.shutdownChannel(senderId);
1230
1230
  });
1231
1231
  this.messagePorts.clear();
1232
- this.app?.dispose();
1232
+ Logger.info("All windows closed, shutting down application...");
1233
+ await this.app?.dispose();
1233
1234
  if (process.platform !== "darwin") {
1234
1235
  import_main.app.quit();
1235
1236
  }
package/dist/noxus.mjs CHANGED
@@ -1152,7 +1152,8 @@ var _NoxApp = class _NoxApp {
1152
1152
  this.shutdownChannel(senderId);
1153
1153
  });
1154
1154
  this.messagePorts.clear();
1155
- this.app?.dispose();
1155
+ Logger.info("All windows closed, shutting down application...");
1156
+ await this.app?.dispose();
1156
1157
  if (process.platform !== "darwin") {
1157
1158
  app.quit();
1158
1159
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@noxfly/noxus",
3
- "version": "1.1.5",
3
+ "version": "1.1.6",
4
4
  "main": "dist/noxus.js",
5
5
  "types": "dist/noxus.d.ts",
6
6
  "scripts": {
package/src/app.ts CHANGED
@@ -147,7 +147,8 @@ export class NoxApp {
147
147
 
148
148
  this.messagePorts.clear();
149
149
 
150
- this.app?.dispose();
150
+ Logger.info('All windows closed, shutting down application...');
151
+ await this.app?.dispose();
151
152
 
152
153
  if(process.platform !== 'darwin') {
153
154
  app.quit();