mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-09 04:13:33 +02:00
Clean up device when the client disconnects
Track clients connected to each device using EggDbusMonitor. When there are no more clients connected to the device, release it. When no devices are used anymore, set up a timeout to exit within 30 seconds.
This commit is contained in:
committed by
Daniel Drake
parent
b0f2060628
commit
f93d8cbce2
@ -6,7 +6,7 @@ EXTRA_DIST = fprintd.xml
|
||||
|
||||
libexec_PROGRAMS = fprintd
|
||||
|
||||
fprintd_SOURCES = main.c manager.c device.c file_storage.c
|
||||
fprintd_SOURCES = main.c manager.c device.c file_storage.c egg-dbus-monitor.c egg-dbus-monitor.h
|
||||
fprintd_LDADD = $(FPRINT_LIBS) $(DAEMON_LIBS)
|
||||
fprintd_CFLAGS = $(WARN_CFLAGS) $(FPRINT_CFLAGS) $(DAEMON_CFLAGS) -DLOCALEDIR=\""$(datadir)/locale"\" -DPLUGINDIR=\""$(libdir)/fprintd/modules"\"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user