Skip to content

Commit

Permalink
Update network.js (#242)
Browse files Browse the repository at this point in the history
correct hang on execute print
  • Loading branch information
treeindark committed Jan 23, 2024
1 parent 369d4f4 commit 73fbfcc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/interfaces/network.js
Expand Up @@ -52,6 +52,7 @@ class Network extends Interface {
console.log(`Data sent to printer: ${name}`, buffer);
if (!options.waitForResponse) {
networkConnection.destroy();
resolve();
}
});
}
Expand Down

0 comments on commit 73fbfcc

Please sign in to comment.