diff options
-rw-r--r-- | src/Video.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Video.cpp b/src/Video.cpp index 681559f..7b6dcee 100644 --- a/src/Video.cpp +++ b/src/Video.cpp @@ -127,7 +127,7 @@ namespace dchat delete[] textureBuffer; mpv_opengl_cb_uninit_gl(mpvGl); - mpv_destroy(mpv); + mpv_detach_destroy(mpv); if(renderThread.joinable()) renderThread.join(); } |