Commit 0b89498d authored by nanahira's avatar nanahira

fix close stuck

parent 9b2b1811
......@@ -164,7 +164,9 @@ export class Attacker {
break;
}
}
this.socket.close();
await new Promise<void>((done) => {
this.socket.close(done);
});
return err;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment