diff --git a/src/machine/streams.rs b/src/machine/streams.rs index 298c3441..73839087 100644 --- a/src/machine/streams.rs +++ b/src/machine/streams.rs @@ -1343,6 +1343,12 @@ impl MachineState { Ok(stream) }; } + (ArenaHeaderTag::Dropped, _value) => { + let stub = functor_stub(caller, arity); + let err = self.existence_error(ExistenceError::Stream(addr)); + + return Err(self.error_form(err, stub)); + } _ => { } );