We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 10c7f1c commit eef93d6Copy full SHA for eef93d6
src/cp.ts
@@ -67,9 +67,9 @@ export class Cp {
67
},
68
)
69
.then((conn) => {
70
- conn.onclose = (event) => {
+ conn.on('close', () => {
71
resolve();
72
- };
+ });
73
})
74
.catch(reject);
75
});
@@ -121,9 +121,9 @@ export class Cp {
121
122
123
124
125
126
127
128
129
0 commit comments