We use a GMainLoopSource to save the cache in an idle.
Created attachment 264474 [details] Patch
This one also depends on patch attached to bug #150754 to build
Comment on attachment 264474 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=264474&action=review > Source/WebKit2/UIProcess/Plugins/gtk/PluginInfoCache.cpp:50 > + m_saveToFileIdle.setPriority(G_PRIORITY_DEFAULT_IDLE); Bot says: error: 'class WTF::RunLoop::Timer<WebKit::PluginInfoCache>' has no member named 'setPriority'
Comment on attachment 264474 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=264474&action=review >> Source/WebKit2/UIProcess/Plugins/gtk/PluginInfoCache.cpp:50 >> + m_saveToFileIdle.setPriority(G_PRIORITY_DEFAULT_IDLE); > > Bot says: error: 'class WTF::RunLoop::Timer<WebKit::PluginInfoCache>' has no member named 'setPriority' Oh, I see now.
Committed r191855: <http://trac.webkit.org/changeset/191855>