evdev: Remove output destroy notifier on device destroy

Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=73895
dev
Kristian Høgsberg 11 years ago
parent 4fd9d2693d
commit 8259728a56
  1. 2
      src/evdev.c

@ -695,6 +695,8 @@ evdev_device_destroy(struct evdev_device *device)
if (device->source)
wl_event_source_remove(device->source);
if (device->output)
wl_list_remove(&device->output_destroy_listener.link);
wl_list_remove(&device->link);
if (device->mtdev)
mtdev_close_delete(device->mtdev);

Loading…
Cancel
Save