PlatformTheme: skip updates when item is being destroyed
When a quick item is being destroyed, it will emit windowChanged signal with a null window. By skipping updates during destruction the application can reduce some futile work.
Edited by Fushan Wen