fix(viz): changing viewport while a notification is active crashes
Description
Toggling viewport while a notification is active crashes.
I don't exactly know the exact conditions that trigger this bug... Most of the time it crashes but sometimes it doesn't...
Steps to reproduce
- Launch Sight Viewer
- Do something that triggers a notification
- Quickly double-click on the volume rendering so it toggles negatoscopes viewports
- Crash
:(
Proposal
Optional section to give some functional or technical hints
Functional specifications
If there is any change to the workflow, UX/UI design, screenshots, etc..., please describe it here
Technical specifications
Details of the implementation of the fix
Test plan
Describe how you will verify that the implementation fulfils the specifications