runtime/kernel/control: fixed memory leak

acpki
pca006132 2 years ago
parent 1931957bc0
commit cdc8ad8aee
  1. 2
      src/runtime/src/kernel/control.rs

@ -41,7 +41,7 @@ impl Control {
pub fn restart(&mut self) {
{
INIT_LOCK.lock();
let _lock = INIT_LOCK.lock();
restart_core1();
unsafe {
self.tx.drop_elements();

Loading…
Cancel
Save