Forgot to apply the macro on the delete, everything should be fine now
This commit is contained in:
parent
2e0bba4048
commit
2a790c34da
|
@ -113,8 +113,10 @@ namespace cAudio
|
||||||
|
|
||||||
CAUDIO_API void destroyAudioManager(IAudioManager* manager)
|
CAUDIO_API void destroyAudioManager(IAudioManager* manager)
|
||||||
{
|
{
|
||||||
|
#if CAUDIO_COMPILE_WITH_FILE_LOG_RECEIVER == 1
|
||||||
if(FileLog not_eq nullptr)
|
if(FileLog not_eq nullptr)
|
||||||
delete FileLog;
|
delete FileLog;
|
||||||
|
#endif
|
||||||
if(manager)
|
if(manager)
|
||||||
{
|
{
|
||||||
#ifdef CAUDIO_COMPILE_WITH_PLUGIN_SUPPORT
|
#ifdef CAUDIO_COMPILE_WITH_PLUGIN_SUPPORT
|
||||||
|
|
Loading…
Reference in New Issue