Ejemplo n.º 1
0
void
frida_deinit (void)
{
  g_assert (main_loop != NULL);

  if (main_thread != NULL)
    frida_shutdown ();

  g_main_loop_unref (main_loop);
  main_loop = NULL;
  g_main_context_unref (main_context);
  main_context = NULL;

#if GLIB_CHECK_VERSION (2, 46, 0)
  gio_deinit ();
  glib_deinit ();
#endif
}
Ejemplo n.º 2
0
void
frida_deinit (void)
{
  g_assert (main_loop != NULL);

  if (main_thread != NULL)
    frida_shutdown ();

  g_main_loop_unref (main_loop);
  main_loop = NULL;
  g_main_context_unref (main_context);
  main_context = NULL;

  gio_shutdown ();
  glib_shutdown ();
  gio_deinit ();
  glib_deinit ();
}