mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-25 03:33:36 +03:00
parent
62182383de
commit
4c1be45106
5
.changes/fix-deadlock-path-iter.md
Normal file
5
.changes/fix-deadlock-path-iter.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri-bundler": patch
|
||||
---
|
||||
|
||||
Fixes a deadlock on the `ResourcePaths` iterator.
|
@ -795,6 +795,7 @@ impl<'a> Iterator for ResourcePaths<'a> {
|
||||
return Some(Ok(path));
|
||||
} else if let Some(current_path) = &self.current_pattern {
|
||||
if !self.current_pattern_is_valid {
|
||||
self.glob_iter = None;
|
||||
return Some(Err(crate::Error::GenericError(format!(
|
||||
"Path matching '{}' not found",
|
||||
current_path
|
||||
|
Loading…
Reference in New Issue
Block a user