From efaaf9b5f9f55f0e148a274513c12e379741b89b Mon Sep 17 00:00:00 2001 From: Chris Robinson Date: Sun, 26 Jun 2011 01:26:50 -0700 Subject: [PATCH] Don't bother with a per-context lock for disconnecting devices --- Alc/ALu.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/Alc/ALu.c b/Alc/ALu.c index 602bd487..c92a29d3 100644 --- a/Alc/ALu.c +++ b/Alc/ALu.c @@ -1046,8 +1046,6 @@ ALvoid aluHandleDisconnect(ALCdevice *device) ALsource *source; ALsizei pos; - SuspendContext(Context); - for(pos = 0;pos < Context->SourceMap.size;pos++) { source = Context->SourceMap.array[pos].value; @@ -1059,7 +1057,6 @@ ALvoid aluHandleDisconnect(ALCdevice *device) source->position_fraction = 0; } } - ProcessContext(Context); } device->Connected = ALC_FALSE; -- 2.11.4.GIT