fix(lib): drop(self) after delete() call
This commit is contained in:
parent
d6fa62a968
commit
557655ee1d
1 changed files with 1 additions and 0 deletions
|
@ -181,6 +181,7 @@ impl Queue {
|
|||
/// other processes, too!
|
||||
pub fn delete(self) -> Result<(), Error> {
|
||||
mqueue::mq_unlink(&self.name.0)?;
|
||||
drop(self);
|
||||
Ok(())
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue