windows: Remove unnecessary Send and Sync implementations (#14659)

After a update to `windows-rs 0.57`, these two implementations are no
longer needed.

Release Notes:

- N/A
This commit is contained in:
张小白 2024-07-26 01:42:36 +08:00 committed by GitHub
parent d2501e8886
commit beb8fbdf7f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 0 additions and 4 deletions

View file

@ -465,7 +465,6 @@ features = [
"Win32_Security",
"Win32_Security_Credentials",
"Win32_Storage_FileSystem",
"Win32_System_LibraryLoader",
"Win32_System_Com",
"Win32_System_Com_StructuredStorage",
"Win32_System_DataExchange",

View file

@ -31,9 +31,6 @@ pub(crate) struct WindowsDispatcher {
main_thread_id: ThreadId,
}
unsafe impl Send for WindowsDispatcher {}
unsafe impl Sync for WindowsDispatcher {}
impl WindowsDispatcher {
pub(crate) fn new() -> Self {
let controller = unsafe {