This commit is contained in:
meehl committed 2026-09-02 16:37:59 +02:00
1 parent aa1bfb768e
commit 20a1db073d
20 files changed
+118 -126

No files matched your search

+2 -3
View File
@@ -191,10 +191,9 @@ impl Subscript {
///
/// Does nothing if there is no pending call.
fn handle_calls(&self, lua: &Lua) {
let call = match self.call_rx.try_recv() {
Ok(call) => call,
let Ok(call) = self.call_rx.try_recv() else {
// no pending call, or thread disconnected which is handled on join
Err(_) => return,
return;
};
match call {