bnoazx005 / TDEngine2

TDEngine2 is a cross-platform game engine
Apache License 2.0
18 stars 4 forks source link

[Bug] CBaseFileSystem::CloseAllFiles throws exception #50

Closed bnoazx005 closed 4 years ago

bnoazx005 commented 4 years ago

Bug report

When an application in GL GAPI mode is closed CBaseFileSystem::CloseAllFiles throws bad access exception when tries to close some random file.

Environment

Win 10 (x64) / Visual Studio 2017 / TDEngine2-v0.4 / NVidia GTX 860M in GL3.x mode

Steps to reproduce the issue

1) Run some application which is powered by TDEngine2 v0.4 with OpenGL graphics system. 2) Close application.

What's the expected result?

The application should be finalized successfully without any error message from the engine.

What's the actual result?

The application throws bad access exception when the file system tries to close some file handle.

bnoazx005 commented 4 years ago

Fixed in 597675532a6189d125fad6a6477c534ea483e5d5