Summary: | [GTK][WPE] ASSERTION FAILED: !isOpen() in WebKit::IconDatabase::~IconDatabase() | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Carlos Garcia Campos <cgarcia> | ||||
Component: | WebKitGTK | Assignee: | Nobody <webkit-unassigned> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | berto, bugs-noreply, buildbot, gustavo, mcatanzaro | ||||
Priority: | P2 | Keywords: | Gtk | ||||
Version: | WebKit Nightly Build | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
Attachments: |
|
Description
Carlos Garcia Campos
2017-08-18 06:09:13 PDT
Created attachment 318492 [details]
Patch
Thanks for the patch. If this patch contains new public API please make sure it follows the guidelines for new WebKit2 GTK+ API. See http://trac.webkit.org/wiki/WebKitGTK/AddingNewWebKit2API Comment on attachment 318492 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=318492&action=review Nice! > Source/WebKit/UIProcess/API/glib/IconDatabase.h:196 > + if (!m_timer.isActive()) I would add a blank line here. > Source/WebKit/UIProcess/API/glib/IconDatabase.h:229 > + RunLoop::Timer<MainThreadNotifier> m_timer; You're certain m_timer does not need to be guarded by a lock? Why not? (In reply to Michael Catanzaro from comment #3) > Comment on attachment 318492 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=318492&action=review > > Nice! > > > Source/WebKit/UIProcess/API/glib/IconDatabase.h:196 > > + if (!m_timer.isActive()) > > I would add a blank line here. > > > Source/WebKit/UIProcess/API/glib/IconDatabase.h:229 > > + RunLoop::Timer<MainThreadNotifier> m_timer; > > You're certain m_timer does not need to be guarded by a lock? Why not? Yes, because it's thread-safe Committed r221238: <http://trac.webkit.org/changeset/221238> |