fix crash on shutdown where the engine attempted to use debugInterface even if it was null. Added an assert for now - but should likely change this to spawn a message to the user if we care (or, just skip the debug checks silently, if we don't)...
fix crash on shutdown where the engine attempted to use debugInterface even if it was null. Added an assert for now - but should likely change this to spawn a message to the user if we care (or, just skip the debug checks silently, if we don't)...

SuperWangKai/DirectX-Graphics-Samples,KevindeQ/DirectX-Graphics-Samples,SuperWangKai/DirectX-Graphics-Samples,KevindeQ/DirectX-Graphics-Samples,GPUOpen-LibrariesAndSDKs/nBodyD3D12,baesky/DirectX-Graphics-Samples,Microsoft/DirectX-Graphics-Samples,vanish87/DirectX-Graphics-Samples,baesky/DirectX-Graphics-Samples,Samana/DirectX-Graphics-Samples,mattlee78/DirectX-Graphics-Samples,GPUOpen-LibrariesAndSDKs/nBodyD3D12,baesky/DirectX-Graphics-Samples,GPUOpen-LibrariesAndSDKs/nBodyD3D12,SuperWangKai/DirectX-Graphics-Samples,vanish87/DirectX-Graphics-Samples,mattlee78/DirectX-Graphics-Samples,KevindeQ/DirectX-Graphics-Samples,Microsoft/DirectX-Graphics-Samples,Microsoft/DirectX-Graphics-Samples,Samana/DirectX-Graphics-Samples