OSDN Git Service

Clean up dlobj cache only when no user is present
authorTakashi Iwai <tiwai@suse.de>
Tue, 9 Apr 2013 12:55:46 +0000 (14:55 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 9 Apr 2013 13:00:11 +0000 (15:00 +0200)
commite79990ac5d09001c8c678feaed057e991ee8379e
tree8d40819a9e7845c1e15135e4028ff5b9f560e612
parenta6813c2d0e2fa4586122d23748033a8bab206b8b
Clean up dlobj cache only when no user is present

Cleaning up the dlobj cache seems crashing some cases when the library
is used from another plugin like openal-soft.  A simple workaround is
to do the cleanup only when really no user is left, i.e. after all
close calls.

Bugzilla: https://bugzilla.novell.com/show_bug.cgi?id=814250

Signed-off-by: Takashi Iwai <tiwai@suse.de>
src/dlmisc.c