fixed crash when the studio is closed while an asset is selected
fixed crash when the studio is closed while an asset is selected

JakubLukas/LumixEngine,JakubLukas/LumixEngine,dreamsxin/LuxEngine,dreamsxin/LuxEngine,JakubLukas/LumixEngine