Closed bnoazx005 closed 4 years ago
When an application in GL GAPI mode is closed CBaseFileSystem::CloseAllFiles throws bad access exception when tries to close some random file.
Win 10 (x64) / Visual Studio 2017 / TDEngine2-v0.4 / NVidia GTX 860M in GL3.x mode
1) Run some application which is powered by TDEngine2 v0.4 with OpenGL graphics system. 2) Close application.
The application should be finalized successfully without any error message from the engine.
The application throws bad access exception when the file system tries to close some file handle.
Fixed in 597675532a6189d125fad6a6477c534ea483e5d5
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.