Aiming to fix #862.
Attempting to update views during shutdown can crash the app due to accessing backend models that may no longer exist.
The shutdown procedure begins by unsetting clientModel
from all views.
Therefore, it’s safe to ignore events when clientModel
is nullptr
.