mirror of
https://github.com/WarmUpTill/SceneSwitcher.git
synced 2026-09-14 04:26:08 -05:00
Rework curl helpers
This commit is contained in:
@@ -487,14 +487,6 @@ bool SwitcherData::anySceneTransitionStarted()
|
||||
******************************************************************************/
|
||||
extern "C" void FreeSceneSwitcher()
|
||||
{
|
||||
if (loaded_curl_lib) {
|
||||
if (switcher->curl && f_curl_cleanup) {
|
||||
f_curl_cleanup(switcher->curl);
|
||||
}
|
||||
delete loaded_curl_lib;
|
||||
loaded_curl_lib = nullptr;
|
||||
}
|
||||
|
||||
PlatformCleanup();
|
||||
|
||||
delete switcher;
|
||||
@@ -691,10 +683,6 @@ extern "C" void InitSceneSwitcher(obs_module_t *m, translateFunc t)
|
||||
switcher->modulePtr = m;
|
||||
switcher->translate = t;
|
||||
|
||||
if (loadCurl() && f_curl_init) {
|
||||
switcher->curl = f_curl_init();
|
||||
}
|
||||
|
||||
PlatformInit();
|
||||
LoadPlugins();
|
||||
SetupDock();
|
||||
|
||||
Reference in New Issue
Block a user