[rtsp] Silence event_del warnings
This commit is contained in:
parent
81a93bbec1
commit
467b652da0
|
@ -767,7 +767,9 @@ static void
|
|||
evrtsp_connection_stop_detectclose(struct evrtsp_connection *evcon)
|
||||
{
|
||||
evcon->flags &= ~EVRTSP_CON_CLOSEDETECT;
|
||||
event_del(&evcon->close_ev);
|
||||
|
||||
if (event_initialized(&evcon->close_ev))
|
||||
event_del(&evcon->close_ev);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
Loading…
Reference in New Issue