mirror of
https://github.com/AlexandreRouma/SDRPlusPlus.git
synced 2024-12-25 10:28:28 +01:00
Fixed audio sink not deleting instance
This commit is contained in:
parent
7481f0432b
commit
de3ee34fce
@ -278,11 +278,11 @@ MOD_EXPORT void* _CREATE_INSTANCE_(std::string name) {
|
|||||||
return instance;
|
return instance;
|
||||||
}
|
}
|
||||||
|
|
||||||
MOD_EXPORT void _DELETE_INSTANCE_() {
|
MOD_EXPORT void _DELETE_INSTANCE_(void* instance) {
|
||||||
config.disableAutoSave();
|
delete (AudioSinkModule*)instance;
|
||||||
config.save();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
MOD_EXPORT void _END_() {
|
MOD_EXPORT void _END_() {
|
||||||
|
config.disableAutoSave();
|
||||||
|
config.save();
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user