Mostly match MxStreamer::Notify

This commit is contained in:
Christian Semmler 2023-12-29 18:44:46 -05:00
parent 56687e86fb
commit b4b73465d0
No known key found for this signature in database
GPG key ID: 086DAA1360BEEE5C

View file

@ -183,13 +183,10 @@ MxLong MxStreamer::Notify(MxParam& p_param)
MxStreamController* c = static_cast<MxStreamerNotification&>(p_param).GetController(); MxStreamController* c = static_cast<MxStreamerNotification&>(p_param).GetController();
if (!c->FUN_100c20d0(ds)) { if (c->FUN_100c20d0(ds))
MxStreamerNotification notif(MXSTREAMER_DELETE_NOTIFY, NULL, c);
NotificationManager()->Send(this, &notif);
}
else {
delete c; delete c;
} else
NotificationManager()->Send(this, &MxStreamerNotification(MXSTREAMER_DELETE_NOTIFY, NULL, c));
} }
return 0; return 0;