Skip to content

Commit faae190

Browse files
authored
Update 37_multithreading.cpp
1 parent f41edad commit faae190

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

attachments/37_multithreading.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -435,6 +435,8 @@ class MultithreadedApplication {
435435
// Clean up shader storage buffers
436436
shaderStorageBuffers.clear();
437437
shaderStorageBuffersMemory.clear();
438+
439+
swapChain = nullptr;
438440
}
439441

440442
void stopThreads() {

0 commit comments

Comments
 (0)