diff options
author | Emil Lauridsen <[email protected]> | 2020-01-28 13:48:50 +0000 |
---|---|---|
committer | Emil Lauridsen <[email protected]> | 2020-01-28 13:48:50 +0000 |
commit | 35025f097532b3f927f802a4130f7cd8a854f134 (patch) | |
tree | 5b23b68c7f0d50aa9e4117922bbbdc105e9fbd8c /crates/test_utils | |
parent | 912776fd9547d1d28b4cba7e4a41e5391fc12c21 (diff) |
Modify ordering of drops in check watcher to only ever have one cargo
Due to the way drops are ordered when assigning to a mutable variable we
were launching a new cargo sub-process before letting the old one quite.
By explicitly replacing the original watcher with a dummy first, we
ensure it is dropped and the process is completed, before we start the
new process.
Diffstat (limited to 'crates/test_utils')
0 files changed, 0 insertions, 0 deletions