fix(pm): client end

This commit is contained in:
chenos 2022-10-27 15:26:28 +08:00
parent 647d482a90
commit 419a6e4cbf

View File

@ -86,6 +86,7 @@ export class PluginManager {
const client = new net.Socket();
client.connect(this.pmSock, () => {
client.write(JSON.stringify(data));
client.end();
});
client.on('error', async () => {
try {