diff --git a/eth/net/nat.nim b/eth/net/nat.nim index edd5ba1..60ba77d 100644 --- a/eth/net/nat.nim +++ b/eth/net/nat.nim @@ -177,8 +177,6 @@ proc repeatPortMapping(args: PortMappingArgs) {.thread.} = lastUpdate = currTime sleep(sleepDuration) -var mainThreadId = getThreadId() - proc stopNatThread() {.noconv.} = # stop the thread natCloseChan.send(true)