mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-11-18 22:59:16 +00:00
fix: ignore session hook on android/ios
This commit is contained in:
1 parent
5c0f249390
commit
6da5bef064
1 file changed
+1
@@ -502,6 +502,7 @@ impl InvokeUiSession for FlutterHandler {
|
||||
#[cfg(not(feature = "flutter_texture_render"))]
|
||||
fn on_rgba(&self, rgba: &mut scrap::ImageRgb) {
|
||||
// Give a chance for plugins or etc to hook a rgba data.
|
||||
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
||||
for (key, hook) in self.hooks.read().unwrap().iter() {
|
||||
match hook {
|
||||
SessionHook::OnSessionRgba(cb) => {
|
||||
|
||||
Reference in new issue
Block a user