[fix] fix program cannot exit when click close button due to screen capture thread is running

This commit is contained in:
dijunkun
2024-08-02 14:38:31 +08:00
parent 88cd4aca4a
commit 502a90f121
7 changed files with 34 additions and 13 deletions

View File

@@ -24,7 +24,9 @@ class SpeakerCapturerFactory {
#ifdef _WIN32
return new SpeakerCapturerWasapi();
#elif __linux__
return new SpeakerCapturerLinux();
#elif __APPLE__
return new SpeakerCapturerMacosx();
#else
return nullptr;
#endif