Fix a hang on 32 bit computers

It turns out using a string hash for a pointer object doesn't always work...
This commit is contained in:
Richard Hughes 2017-07-17 14:18:22 +01:00
parent 5735fd67c1
commit e8b5db66f4

View File

@ -1109,7 +1109,7 @@ fu_plugin_init (FuPlugin *plugin)
priv->enabled = TRUE;
priv->devices = g_hash_table_new_full (g_str_hash, g_str_equal,
g_free, (GDestroyNotify) g_object_unref);
priv->devices_delay = g_hash_table_new (g_str_hash, g_str_equal);
priv->devices_delay = g_hash_table_new (g_direct_hash, g_direct_equal);
}
static void