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