Skip to content

applets/taskmanager: guard against null parentTask

ToolTipInstance reads the parentTask's property about tooltip media control configuration. Under certain circumstances, the parentTask can be null. If this is the case, a warning will be printed.

Instead, guard the access with optional chaining.


I have not been able to find a way to reproduce this, but I've seen it in my logs. Probably a race that only happens rarely. But no reason not to guard against it.

Merge request reports

Loading