[bugfix] remove dangling ref (#11576)
This commit is contained in:
parent
181350f6c9
commit
91f0626dcb
1 changed files with 1 additions and 1 deletions
|
|
@ -1304,7 +1304,7 @@ elif not defined(useNimRtl):
|
||||||
p.exitStatus = status
|
p.exitStatus = status
|
||||||
result = exitStatusLikeShell(status)
|
result = exitStatusLikeShell(status)
|
||||||
|
|
||||||
proc createStream(stream: var Stream, handle: var FileHandle,
|
proc createStream(stream: var owned(Stream), handle: var FileHandle,
|
||||||
fileMode: FileMode) =
|
fileMode: FileMode) =
|
||||||
var f: File
|
var f: File
|
||||||
if not open(f, handle, fileMode): raiseOSError(osLastError())
|
if not open(f, handle, fileMode): raiseOSError(osLastError())
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue