mirror of
https://github.com/nim-lang/Nim.git
synced 2026-02-17 08:34:20 +00:00
Fix missing import in nimprof.nim when --threads:on
This commit is contained in:
@@ -60,6 +60,7 @@ when not defined(memProfiler):
|
||||
else: interval = intervalInUs * 1000 - tickCountCorrection
|
||||
|
||||
when withThreads:
|
||||
import locks
|
||||
var
|
||||
profilingLock: TLock
|
||||
|
||||
|
||||
Reference in New Issue
Block a user