Compare commits
2 commits
5c607262f7
...
f0a1d43e96
Author | SHA1 | Date | |
---|---|---|---|
f0a1d43e96 | |||
08d2377404 |
1 changed files with 1 additions and 0 deletions
|
@ -36,6 +36,7 @@ pub fn watch_file(path: PathBuf, recipient: Recipient<FileUpdated>) -> Result<Ar
|
|||
actix_rt::task::spawn_blocking(move || {
|
||||
loop {
|
||||
if thread_shutdown.load(Ordering::Relaxed) {
|
||||
drop(handler);
|
||||
break;
|
||||
}
|
||||
for result in rx.try_iter() {
|
||||
|
|
Loading…
Reference in a new issue