diff options
| author | kennytm <kennytm@gmail.com> | 2018-07-24 09:49:58 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-07-24 09:49:58 +0800 |
| commit | b3c9fe2537b528424333d10e5fc491a0fa050dc2 (patch) | |
| tree | c31cfe45abe4668f7e08482f046eecb49e023492 /src/rustllvm/RustWrapper.cpp | |
| parent | 3af372ad574bb952f728f18ac7262f1dc6503864 (diff) | |
| parent | 89495f3ca33b8a236ee8bc4f89a64a500fe2391f (diff) | |
| download | rust-b3c9fe2537b528424333d10e5fc491a0fa050dc2.tar.gz rust-b3c9fe2537b528424333d10e5fc491a0fa050dc2.zip | |
Rollup merge of #52640 - Thomasdezeeuw:fix-localwaker-clone, r=cramertj
Forget Waker when cloning LocalWaker Since NonNull is Copy the inner field of the cloned Waker was copied for use in the new LocalWaker, however this left Waker to be dropped. Which means that when cloning LocalWaker would also erroneously call drop_raw. This change forgets the Waker, rather then dropping it, leaving the inner field to be used by the returned LocalWaker. Closes #52629.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
