Changeset View
Changeset View
Standalone View
Standalone View
head/mail/thunderbird/files/patch-ipc_glue_MessageChannel.cpp
| Property | Old Value | New Value |
|---|---|---|
| fbsd:nokeywords | null | yes \ No newline at end of property |
| svn:eol-style | null | native \ No newline at end of property |
| svn:mime-type | null | text/plain \ No newline at end of property |
| To be removed after FreeBSD 10.* EOL | |||||
| --- ipc/glue/MessageChannel.cpp.orig 2017-11-02 16:16:32 UTC | |||||
| +++ ipc/glue/MessageChannel.cpp | |||||
| @@ -685,6 +685,11 @@ MessageChannel::WillDestroyCurrentMessageLoop() | |||||
| mWorkerLoop = nullptr; | |||||
| } | |||||
| +#if defined(_LIBCPP_VERSION) && _LIBCPP_VERSION < 4000 | |||||
| +// Work around UB in __tree crashing mPendingPromises.clear() | |||||
| +// http://llvm.org/viewvc/llvm-project?view=revision&revision=276003 | |||||
| +[[clang::optnone]] | |||||
| +#endif | |||||
| void | |||||
| MessageChannel::Clear() | |||||
| { | |||||