summaryrefslogtreecommitdiff
path: root/plugins.c
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-12-06 21:53:11 +0100
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2009-12-06 21:53:11 +0100
commit05136b7bbd1d627f3b01a3c44095e5e765f1e733 (patch)
tree82581acfbda965d3bbf23543034be81163e0a36d /plugins.c
parentf13d1a5ef35117bb9010784549e218bf0c460068 (diff)
another attempt to fix hang in lastfm on exit
Diffstat (limited to 'plugins.c')
-rw-r--r--plugins.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins.c b/plugins.c
index 6f91d140..0988d1b7 100644
--- a/plugins.c
+++ b/plugins.c
@@ -314,6 +314,7 @@ plug_quit (void) {
void
plug_event_call (DB_event_t *ev) {
ev->time = time (NULL);
+// printf ("plug_event_call enter %d\n", ev->event);
mutex_lock (mutex);
for (int i = 0; i < MAX_HANDLERS; i++) {
if (handlers[ev->event][i].plugin && !handlers[ev->event][i].plugin->inactive) {
@@ -321,6 +322,7 @@ plug_event_call (DB_event_t *ev) {
}
}
mutex_unlock (mutex);
+// printf ("plug_event_call leave %d\n", ev->event);
}
void