| Summary: | [GTK][MiniBrowser] occasional crashes when closing while download in progress | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Yury Semikhatsky <yurys> | ||||
| Component: | WebKitGTK | Assignee: | Yury Semikhatsky <yurys> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | bugs-noreply, cgarcia, clopez, pnormand | ||||
| Priority: | P2 | ||||||
| Version: | WebKit Nightly Build | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Linux | ||||||
| Attachments: |
|
||||||
|
Description
Yury Semikhatsky
2020-07-06 14:03:52 PDT
Created attachment 403618 [details]
Patch
Maybe g_signal_handler_block() could be an option? IIUC g_signal_handler_block assumes there will be g_signal_handler_unblock at some point in the future. In this case UI item representing the download is destroyed hence the signal handlers it added make no sense anymore and there is no point in unblocking them. Also they would still keep a dangling pointer. Committed r264011: <https://trac.webkit.org/changeset/264011> All reviewed patches have been landed. Closing bug and clearing flags on attachment 403618 [details]. |