Skip to content

directory: Prevent usage of uninitialized hash table

Ondrej Holy requested to merge wip/oholy/directory-criticals into master

I see regularly the following debug print on Nautilus startup: GLib-CRITICAL **: 10:52:52.992: g_hash_table_foreach: assertion 'hash_table != NULL' failed. This is because the emit_change_signals_for_all_files_in_all_directories function is called before the directories hash table is initialzed. Let's return early to prevent usage of the uninitialized hash table.

Merge request reports