aboutsummaryrefslogtreecommitdiffstats
path: root/al/event.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'al/event.cpp')
-rw-r--r--al/event.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/al/event.cpp b/al/event.cpp
index 1ec404da..8765e79b 100644
--- a/al/event.cpp
+++ b/al/event.cpp
@@ -59,7 +59,7 @@ static int EventThread(ALCcontext *context)
if(evt.EnumType == AsyncEvent::ReleaseEffectState)
{
- evt.u.mEffectState->release();
+ al::intrusive_ptr<EffectState>{evt.u.mEffectState};
continue;
}