diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-12-15 22:20:53 -0800 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-12-24 19:59:54 -0800 |
| commit | f25c81a51a752786ce8936b503c16912478a89fd (patch) | |
| tree | e6335e5796487812f4a8c3c7e76b7966cb1506ef /src/rustllvm/RustWrapper.cpp | |
| parent | 962af9198f8f2a1e2d5121ac216b6f4d574ae54c (diff) | |
| download | rust-f25c81a51a752786ce8936b503c16912478a89fd.tar.gz rust-f25c81a51a752786ce8936b503c16912478a89fd.zip | |
rustuv: Fix a use-after-free on destruction
The uv loop was being destroyed before the async handle was being destroyed, so closing the async handle was causing a use-after-free in the uv loop. This was fixed by moving destruction of the queue's async handle to an earlier location and then actually freeing it once the loop has been dropped.
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
