attempt to fix #4640
This commit is contained in:
parent
99d9526002
commit
03768e7da0
3 changed files with 9 additions and 6 deletions
|
|
@ -331,7 +331,9 @@ else:
|
|||
when TArg is void:
|
||||
thrd.dataFn()
|
||||
else:
|
||||
thrd.dataFn(thrd.data)
|
||||
var x: TArg
|
||||
deepCopy(x, thrd.data)
|
||||
thrd.dataFn(x)
|
||||
|
||||
proc threadProcWrapStackFrame[TArg](thrd: ptr Thread[TArg]) =
|
||||
when defined(boehmgc):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue