Fixed audio sink not deleting instance

pull/122/head
Ryzerth 2021-04-27 16:48:31 +02:00
rodzic 7481f0432b
commit de3ee34fce
1 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -278,11 +278,11 @@ MOD_EXPORT void* _CREATE_INSTANCE_(std::string name) {
return instance;
}
MOD_EXPORT void _DELETE_INSTANCE_() {
config.disableAutoSave();
config.save();
MOD_EXPORT void _DELETE_INSTANCE_(void* instance) {
delete (AudioSinkModule*)instance;
}
MOD_EXPORT void _END_() {
config.disableAutoSave();
config.save();
}