Fix nimprof import error when --threads:on.
This commit is contained in:
parent
88cb4850ce
commit
35e603b89c
1 changed files with 7 additions and 6 deletions
|
|
@ -60,6 +60,7 @@ when not defined(memProfiler):
|
|||
else: interval = intervalInUs * 1000 - tickCountCorrection
|
||||
|
||||
when withThreads:
|
||||
import locks
|
||||
var
|
||||
profilingLock: TLock
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue