Drop file watch on delete
parent
24eaec9b5c
commit
34b4e213e2
|
@ -695,6 +695,7 @@ file_watch_event (G_GNUC_UNUSED MooFileWatch *watch,
|
||||||
|
|
||||||
case MOO_FILE_WATCH_DELETED:
|
case MOO_FILE_WATCH_DELETED:
|
||||||
edit->priv->deleted_from_disk = TRUE;
|
edit->priv->deleted_from_disk = TRUE;
|
||||||
|
edit->priv->file_monitor_id = 0;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case MOO_FILE_WATCH_CREATED:
|
case MOO_FILE_WATCH_CREATED:
|
||||||
|
|
Loading…
Reference in New Issue