Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

fix startup crash on windows without adapter (#7093)

21pages5581248a1eec
diff --git a/flutter/pubspec.lock b/flutter/pubspec.lock
index dfdb90c58..6e1ecb334 100644
--- a/flutter/pubspec.lock
+++ b/flutter/pubspec.lock
@@ -509,8 +509,8 @@ packages:
dependency: "direct main"
description:
path: "."
- ref: "3865a99f60a92bea4d95bb5d55cf524b1bcbbf5a"
- resolved-ref: "3865a99f60a92bea4d95bb5d55cf524b1bcbbf5a"
+ ref: "38951317afe79d953ab25733667bd96e172a80d3"
+ resolved-ref: "38951317afe79d953ab25733667bd96e172a80d3"
url: "https://github.com/21pages/flutter_gpu_texture_renderer"
source: git
version: "0.0.1"
diff --git a/flutter/pubspec.yaml b/flutter/pubspec.yaml
index 2ab290c6a..0b126da27 100644
--- a/flutter/pubspec.yaml
+++ b/flutter/pubspec.yaml
@@ -95,7 +95,7 @@ dependencies:
flutter_gpu_texture_renderer:
git:
url: https://github.com/21pages/flutter_gpu_texture_renderer
- ref: 3865a99f60a92bea4d95bb5d55cf524b1bcbbf5a
+ ref: 38951317afe79d953ab25733667bd96e172a80d3
uuid: ^3.0.7
auto_size_text_field: ^2.2.1
flex_color_picker: ^3.3.0
diff --git a/libs/scrap/src/common/gpucodec.rs b/libs/scrap/src/common/gpucodec.rs
index 9e3f9d22e..126a027b8 100644
--- a/libs/scrap/src/common/gpucodec.rs
+++ b/libs/scrap/src/common/gpucodec.rs
@@ -323,7 +323,7 @@ impl GpuDecoder {
.map(|c| c.d)
.unwrap_or_default()
.drain(..)
- .filter(|c| c.data_format == data_format && c.luid == luid)
+ .filter(|c| c.data_format == data_format && c.luid == luid && luid != 0)
.collect()
}