Skip to content

Commit 7682784

Browse files
authored
don't use underscore for used type Weave parameter (#190)
1 parent b76e9ff commit 7682784

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

weave/runtime.nim

+2-2
Original file line numberDiff line numberDiff line change
@@ -175,13 +175,13 @@ proc globalCleanup() =
175175
metrics:
176176
log("+========================================+\n")
177177

178-
proc exit*(_: type Weave, auxiliary: AuxiliaryProc = WV_NoAuxiliary) =
178+
proc exit*(W: type Weave, auxiliary: AuxiliaryProc = WV_NoAuxiliary) =
179179
when auxiliary is proc() {.cdecl, gcsafe.}:
180180
globalCtx.auxiliaryExit = proc() {.nimcall, gcsafe.} = auxiliary
181181
else:
182182
globalCtx.auxiliaryExit = auxiliary
183183

184-
syncRoot(_)
184+
syncRoot(W)
185185
signalTerminate(nil)
186186
workerContext.signaledTerminate = true
187187

0 commit comments

Comments
 (0)