[gnome-builder/wip/chergert/deploy] unsaved-files: this is okay to dispose in a thread



commit 7f279946218b44957fd484ef39ace9b44e315416
Author: Christian Hergert <chergert redhat com>
Date:   Wed Mar 7 19:37:01 2018 -0800

    unsaved-files: this is okay to dispose in a thread
    
    We still need to drastically improve our threading guarantees with what
    thread things are disposed in, but this is fine for now as nothing
    requires main thread disposal.

 src/libide/buffers/ide-unsaved-files.c | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/src/libide/buffers/ide-unsaved-files.c b/src/libide/buffers/ide-unsaved-files.c
index f0dce5d1b..11e29208e 100644
--- a/src/libide/buffers/ide-unsaved-files.c
+++ b/src/libide/buffers/ide-unsaved-files.c
@@ -89,8 +89,6 @@ async_state_free (gpointer data)
 {
   AsyncState *state = data;
 
-  g_assert (IDE_IS_MAIN_THREAD ());
-
   if (state != NULL)
     {
       g_clear_pointer (&state->drafts_directory, g_free);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]