Commit a075c5c4 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

streamClose: call streamCloseDelegate() only if filetype != -1

parent 3787be88
...@@ -1159,7 +1159,7 @@ void streamClose(int streamID) ...@@ -1159,7 +1159,7 @@ void streamClose(int streamID)
= (void (*)(stream_t *, int)) = (void (*)(stream_t *, int))
namespaceSwitchGet(NSSWITCH_STREAM_CLOSE_BACKEND).func; namespaceSwitchGet(NSSWITCH_STREAM_CLOSE_BACKEND).func;
streamCloseDelegate(streamptr, 1); if ( streamptr->filetype != -1 ) streamCloseDelegate(streamptr, 1);
if ( streamptr->record ) if ( streamptr->record )
{ {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment