fix missing unlock() statement at end of modals

This commit is contained in:
bunnie 2022-04-08 15:58:59 +08:00
parent fb4ce334c4
commit b4dad54315

View file

@ -89,6 +89,7 @@ impl Modals {
};
let buf = Buffer::into_buf(spec).or(Err(xous::Error::InternalError))?;
buf.lend(self.conn, Opcode::Notification.to_u32().unwrap()).or(Err(xous::Error::InternalError))?;
self.unlock();
Ok(())
}