mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2025-03-29 03:02:22 +01:00
also destroy socket
This commit is contained in:
parent
6dfcad7725
commit
7441838ba5
@ -72,6 +72,7 @@ export class StratumV1Service implements OnModuleInit {
|
||||
socket.on('timeout', () => {
|
||||
console.log('socket timeout');
|
||||
socket.end();
|
||||
socket.destroy();
|
||||
});
|
||||
|
||||
socket.on('error', async (error: Error) => { });
|
||||
|
Loading…
x
Reference in New Issue
Block a user