Browse code

core: events - return after SREV_TCP_WS_CLOSE callbacks are executed

Daniel-Constantin Mierla authored on 08/09/2020 11:09:59
Showing 1 changed files
... ...
@@ -353,6 +353,7 @@ int sr_event_exec(int type, sr_event_param_t *evp)
353 353
 							&& _sr_events_list.tcp_ws_close[i]; i++) {
354 354
 						ret = _sr_events_list.tcp_ws_close[i](evp);
355 355
 					}
356
+					return ret;
356 357
 				} else return 1;
357 358
 		default:
358 359
 			return -1;