mirror of
https://github.com/Motion-Project/motion.git
synced 2026-05-18 11:34:52 -04:00
Revise watchdog process
This commit is contained in:
@@ -1874,6 +1874,8 @@ static void netcam_shutdown(struct ctx_netcam *netcam)
|
||||
if (netcam) {
|
||||
netcam_close_context(netcam);
|
||||
|
||||
netcam->status = NETCAM_NOTCONNECTED;
|
||||
|
||||
myfree(&netcam->path);
|
||||
|
||||
if (netcam->img_latest != NULL) {
|
||||
|
||||
Reference in New Issue
Block a user