From f194e1a60853ea129eb8c672dbda8ad20337708b Mon Sep 17 00:00:00 2001 From: Erica Z Date: Sat, 2 Nov 2024 16:22:57 +0100 Subject: [PATCH] no sync no send no nuthin --- src/mpv.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/mpv.rs b/src/mpv.rs index e59e847..a97aab5 100644 --- a/src/mpv.rs +++ b/src/mpv.rs @@ -57,8 +57,9 @@ pub struct Handle { } // The client API is generally fully thread-safe, unless otherwise noted. -unsafe impl Send for Handle {} -unsafe impl Sync for Handle {} +//unsafe impl Send for Handle {} +//unsafe impl Sync for Handle {} +// ........but we'd rather keep this in a single thread to play better with gtk impl Default for Handle { fn default() -> Self {