Skip to content
  • Ting-Wei Lan's avatar
    tests: Use g_idle_add to call g_main_loop_quit · f2888984
    Ting-Wei Lan authored
    Sometimes file monitor events may be slow to emit. Using g_idle_add
    makes it less possible for events to be scheduled later than the main
    loop quit, preventing test failure caused by missing events.
    
    This fixes test failure on FreeBSD.
    f2888984