Closed
Labels
port:QtAffects the Qt version (the standard desktop version)Affects the Qt version (the standard desktop version)system:WindowsAffects running on WindowsAffects running on Windows
Description
Metadata
Metadata
Assignees
Labels
port:QtAffects the Qt version (the standard desktop version)Affects the Qt version (the standard desktop version)system:WindowsAffects running on WindowsAffects running on Windows

Activity
endrift commentedon Feb 2, 2020
On my end it looks like it's just the window title not getting updated; the file handle appears to be closed. Did you have any other windows open when you hit Shutdown?
AsparagusEduardo commentedon Feb 3, 2020
No, I didn't have any other mGBA windows open

I was referred to make an issue report from the pokeemerald project Discord when I tried compiling after pressing Shutdown, and they told me that the common issue with that error is the file handle being open.
endrift commentedon Feb 3, 2020
So I can reproduce this, but the file handle has definitely been closed. Process Explorer can't see it. I wonder if I'm not unmapping the memory properly before closing it.
E] That appears to be exactly what's happening.
endrift commentedon Feb 4, 2020
Should have a fix for this tonight.
VFS: Fix handle leak when double-mapping (fixes #1659)