mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 13:46:45 +00:00
fix(pm): client end
This commit is contained in:
parent
647d482a90
commit
419a6e4cbf
@ -86,6 +86,7 @@ export class PluginManager {
|
|||||||
const client = new net.Socket();
|
const client = new net.Socket();
|
||||||
client.connect(this.pmSock, () => {
|
client.connect(this.pmSock, () => {
|
||||||
client.write(JSON.stringify(data));
|
client.write(JSON.stringify(data));
|
||||||
|
client.end();
|
||||||
});
|
});
|
||||||
client.on('error', async () => {
|
client.on('error', async () => {
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user