File tree 4 files changed +2
-12
lines changed
4 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -136,9 +136,6 @@ class PlatformFFI {
136
136
// Start a dbus service for uri links, no need to await
137
137
_ffiBind.mainStartDbusServer ();
138
138
}
139
- if (appType == kAppTypeConnectionManager) {
140
- _ffiBind.mainStartPa ();
141
- }
142
139
} else if (isMacOS && isMain) {
143
140
// Start ipc service for uri links.
144
141
_ffiBind.mainStartIpcUrlServer ();
Original file line number Diff line number Diff line change @@ -1412,10 +1412,6 @@ class RustdeskImpl {
1412
1412
return false ;
1413
1413
}
1414
1414
1415
- Future <void > mainStartPa ({dynamic hint}) {
1416
- throw UnimplementedError ();
1417
- }
1418
-
1419
1415
bool mainHideDocker ({dynamic hint}) {
1420
1416
throw UnimplementedError ();
1421
1417
}
Original file line number Diff line number Diff line change @@ -1839,11 +1839,6 @@ pub fn main_is_login_wayland() -> SyncReturn<bool> {
1839
1839
SyncReturn ( is_login_wayland ( ) )
1840
1840
}
1841
1841
1842
- pub fn main_start_pa ( ) {
1843
- #[ cfg( target_os = "linux" ) ]
1844
- std:: thread:: spawn ( crate :: ipc:: start_pa) ;
1845
- }
1846
-
1847
1842
pub fn main_hide_docker ( ) -> SyncReturn < bool > {
1848
1843
#[ cfg( target_os = "macos" ) ]
1849
1844
crate :: platform:: macos:: hide_dock ( ) ;
Original file line number Diff line number Diff line change @@ -1268,6 +1268,8 @@ impl<T: InvokeUiSession> Session<T> {
1268
1268
1269
1269
#[ inline]
1270
1270
pub fn request_voice_call ( & self ) {
1271
+ #[ cfg( target_os = "linux" ) ]
1272
+ std:: thread:: spawn ( crate :: ipc:: start_pa) ;
1271
1273
self . send ( Data :: NewVoiceCall ) ;
1272
1274
}
1273
1275
You can’t perform that action at this time.
0 commit comments