Skip to content

Commit

Permalink
[bg] fix deadlock in autoseek ptk-path-entry.c #528
Browse files Browse the repository at this point in the history
  • Loading branch information
IgnorantGuru committed Sep 28, 2015
1 parent 5458ffc commit 78322be
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/ptk/ptk-path-entry.c
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,11 @@ gboolean seek_path( GtkEntry* entry )
// strip trialing slash
seek_dir[strlen( seek_dir ) - 1] = '\0';
}
// bizarre deadlock in vfs-dir.c after 'dir->load_status = DIR_LOADING_TYPES'
// at GDK_THREADS_ENTER if GDK_THREADS_ENTER not here ?
GDK_THREADS_ENTER();
ptk_file_browser_seek_path( edata->browser, seek_dir, seek_name );
GDK_THREADS_LEAVE();
g_free( seek_dir );
g_free( seek_name );
return FALSE;
Expand Down

0 comments on commit 78322be

Please sign in to comment.