diff --git a/eth/net/nat.nim b/eth/net/nat.nim index 60ba77d..9e79629 100644 --- a/eth/net/nat.nim +++ b/eth/net/nat.nim @@ -225,10 +225,3 @@ proc redirectPorts*(tcpPort, udpPort: Port, description: string): Option[(Port, # atexit() in disguise addQuitProc(stopNatThread) -# workaround for https://github.com/nim-lang/Nim/issues/4057 -when defined(windows): - proc handler() {.noconv.} = - setupForeignThreadGc() - quit(1) - setControlCHook(handler) -