mirror of
https://github.com/isledecomp/isle.git
synced 2024-11-30 08:50:47 +00:00
Mostly match MxStreamer::Close
This commit is contained in:
parent
562d6a966e
commit
56687e86fb
@ -79,14 +79,10 @@ MxLong MxStreamer::Close(const char* p_name)
|
||||
if (!p_name || !strcmp(p_name, c->GetAtom().GetInternal())) {
|
||||
m_openStreams.erase(it);
|
||||
|
||||
if (!c->FUN_100c20d0(ds)) {
|
||||
MxStreamerNotification notif(MXSTREAMER_DELETE_NOTIFY, NULL, c);
|
||||
|
||||
NotificationManager()->Send(this, ¬if);
|
||||
}
|
||||
else {
|
||||
if (c->FUN_100c20d0(ds))
|
||||
delete c;
|
||||
}
|
||||
else
|
||||
NotificationManager()->Send(this, &MxStreamerNotification(MXSTREAMER_DELETE_NOTIFY, NULL, c));
|
||||
|
||||
return SUCCESS;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user