refactor cursor pos loop

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2023-03-11 17:48:35 +08:00
parent e77fc25836
commit 041a518655
2 changed files with 7 additions and 8 deletions

View File

@@ -951,8 +951,8 @@ impl Connection {
noperms.push(super::audio_service::NAME);
}
let mut s = s.write().unwrap();
s.add_connection(self.inner.clone(), &noperms);
try_start_record_cursor_pos();
s.add_connection(self.inner.clone(), &noperms);
}
}
}