fixed memory leak when the studio is closed during loading
fixed memory leak when the studio is closed during loading

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