no sync no send no nuthin

This commit is contained in:
Erica Z 2024-11-02 16:22:57 +01:00
parent 45391b3da5
commit f194e1a608

View file

@ -57,8 +57,9 @@ pub struct Handle {
} }
// The client API is generally fully thread-safe, unless otherwise noted. // The client API is generally fully thread-safe, unless otherwise noted.
unsafe impl Send for Handle {} //unsafe impl Send for Handle {}
unsafe impl Sync 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 { impl Default for Handle {
fn default() -> Self { fn default() -> Self {