aboutsummaryrefslogtreecommitdiff
path: root/stockton-render/src/draw/texture/repo.rs
diff options
context:
space:
mode:
Diffstat (limited to 'stockton-render/src/draw/texture/repo.rs')
-rw-r--r--stockton-render/src/draw/texture/repo.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/stockton-render/src/draw/texture/repo.rs b/stockton-render/src/draw/texture/repo.rs
index c37da11..75cc650 100644
--- a/stockton-render/src/draw/texture/repo.rs
+++ b/stockton-render/src/draw/texture/repo.rs
@@ -116,7 +116,7 @@ impl<'a> TextureRepo<'a> {
resolver,
)?;
- std::thread::spawn(move || loader.loop_forever())
+ std::thread::spawn(move || loader.loop_until_exit())
};
Ok(TextureRepo {