diff options
| author | Thomas de Zeeuw <thomasdezeeuw@gmail.com> | 2018-07-23 13:39:21 +0200 |
|---|---|---|
| committer | Thomas de Zeeuw <thomasdezeeuw@gmail.com> | 2018-07-23 13:45:25 +0200 |
| commit | 89495f3ca33b8a236ee8bc4f89a64a500fe2391f (patch) | |
| tree | e6f5f33aaced37a1c7b15f852b5c415cf280ce29 /src/rustllvm/RustWrapper.cpp | |
| parent | 3b7720399a9006d9d7b89c251fa37ead46f9db7a (diff) | |
| download | rust-89495f3ca33b8a236ee8bc4f89a64a500fe2391f.tar.gz rust-89495f3ca33b8a236ee8bc4f89a64a500fe2391f.zip | |
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
