refactor cursor pos loop

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

No files matched your search

+1 -1
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);
}
}
}