bnoazx005 / TDEngine2

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

[Bug] CloseAllFiles throws 'read access violation' exception #5

Closed bnoazx005 closed 5 years ago

bnoazx005 commented 5 years ago

Bug report

If some file was opened by an application and closed manually the engine will throw 'read access violation' in CloseAllFiles method.

Environment

Win32 (Win10) / Visual Studio 2017

Steps to reproduce the issue

1) Open some file using Create method of IFileSystem. 2) Close it manually, before the engine will do it automatically. 3) Quit the application.

What's the expected result?

The application should be finalized without throwing exception.

What's the actual result?

'Read access violation' exception has thrown by CloseAllFiles.