chore: avoid crash while notification removal (#43059)
* avoid crash of operation on an invalid entry while erase set iterator.
Co-authored-by: bill.shen <[email protected]>
* fix notification removal crash due to the nullptr presenter
Co-authored-by: bill.shen <[email protected]>
---------
Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: bill.shen <[email protected]>