Skip to content

Commit

Permalink
fix: Plugin error when sending on disconnected IPC channel
Browse files Browse the repository at this point in the history
  • Loading branch information
tomudding committed Apr 11, 2022
1 parent c18d9ee commit d24873b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/server/lib/plugins/util.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports = {

return {
send (event, ...args) {
if (aProcess.killed) {
if (aProcess.killed || !aProcess.connected) {
return
}

Expand Down

0 comments on commit d24873b

Please sign in to comment.