mirror of
https://github.com/benjamin-wilson/public-pool.git
synced 2026-09-29 09:05:06 -07:00
also destroy socket
This commit is contained in:
@@ -72,6 +72,7 @@ export class StratumV1Service implements OnModuleInit {
|
|||||||
socket.on('timeout', () => {
|
socket.on('timeout', () => {
|
||||||
console.log('socket timeout');
|
console.log('socket timeout');
|
||||||
socket.end();
|
socket.end();
|
||||||
|
socket.destroy();
|
||||||
});
|
});
|
||||||
|
|
||||||
socket.on('error', async (error: Error) => { });
|
socket.on('error', async (error: Error) => { });
|
||||||
|
|||||||
Reference in New Issue
Block a user