Compare commits

..

2 commits

Author SHA1 Message Date
5c607262f7 WIP: fix: file_watcher runs on own thread
All checks were successful
ci/woodpecker/push/cron-docker-builder Pipeline was successful
ci/woodpecker/push/push-next Pipeline was successful
ci/woodpecker/push/tag-created Pipeline was successful
Closes kemitix/git-next#142
2024-08-11 09:36:53 +01:00
73c4910c88 WIP: TUI actor 2024-08-10 20:07:50 +01:00

View file

@ -36,7 +36,6 @@ 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() {