JJJohan / DX12Engine

Direct3D Rendering Engine
3 stars 0 forks source link

Fix Release Build of Engine Not Exiting Cleanly #41

Closed JJJohan closed 8 years ago

JJJohan commented 8 years ago

Engine remains running when exit is requested, only in release mode. Possibly an unitialised variable is the cause.

JJJohan commented 8 years ago

Turns out that release builds performed aggressive optimization on the CommandQueue task loops. Making the exit flag volatile fixed the issue.