kopia lustrzana https://github.com/AlexandreRouma/SDRPlusPlus
Fixed audio sink not deleting instance
rodzic
7481f0432b
commit
de3ee34fce
|
@ -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();
|
||||
}
|
Ładowanie…
Reference in New Issue