vdagent: remove callback on destroy()
To avoid mainloop calling it when GIOChannel for x11 was already destroyed.
Signed-off-by: Victor Toso victortoso@redhat.com
#0 vdagent_x11_do_read (x11=0x7e02fe2103c80009) at src/vdagent/x11.c:609
#1 0x00005573e5f328e1 in x11_io_channel_cb (source=<optimized out>, condition=<optimized out>, data=<optimized out>) at src/vdagent/display.c:179
#2 0x00007f62e9bc0aed in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#3 0x00007f62e9bc0ea8 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#4 0x00007f62e9bc11d2 in g_main_loop_run () from /lib64/libglib-2.0.so.0
#5 0x00005573e5f301cc in main (argc=<optimized out>, argv=<optimized out>) at src/vdagent/vdagent.c:502
Edited by Victor Toso