Skip to content

Commit

Permalink
Merge branch 'main' into fix-aot-minimizable
Browse files Browse the repository at this point in the history
  • Loading branch information
jdanielnd authored Dec 21, 2023
2 parents 4fb702f + 717cd29 commit e988c95
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,3 @@ jobs:
npm run publish
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

4 changes: 2 additions & 2 deletions src/lib/aerowinx-connection.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class AerowinxConnection {
}

close() {
this.client.end();
this.client.resetAndDestroy();
console.log('Connection manually closed');
}

Expand Down Expand Up @@ -136,7 +136,7 @@ const createAerowinxConnection = (win: BrowserWindow) => {
ipcMain.on('aerowinx:connect', connectListener);

const closeListener = () => {
aerowinxSocket.destroy();
aerowinxSocket.close();
}
ipcMain.on('aerowinx:close', closeListener);

Expand Down

0 comments on commit e988c95

Please sign in to comment.