Removed commented out sleep. Add TODO on threading issue
[pazpar2-moved-to-github.git] / src / client.c
index 9990dd0..0eee31c 100644 (file)
@@ -472,6 +472,7 @@ void client_check_preferred_watch(struct client *cl)
     if (se)
     {
         client_unlock(cl);
+        /* TODO possible threading issue. Session can have been destroyed */
         if (session_is_preferred_clients_ready(se)) {
             session_alert_watch(se, SESSION_WATCH_SHOW_PREF);
         }