clear alias in close before resetting the stream to null (#1231)
This commit is contained in:
@@ -1468,7 +1468,8 @@ open(SourceSink, Mode, Stream, StreamOptions) :-
|
||||
atom(SourceSink) ->
|
||||
atom_chars(SourceSink, SourceSinkString)
|
||||
; SourceSink = SourceSinkString
|
||||
), '$open'(SourceSinkString, Mode, Stream, Alias, EOFAction, Reposition, Type)
|
||||
),
|
||||
'$open'(SourceSinkString, Mode, Stream, Alias, EOFAction, Reposition, Type)
|
||||
)
|
||||
).
|
||||
|
||||
|
||||
Reference in New Issue
Block a user