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-25 10:42:36 -07:00
committed by GitHub
parent d2501e8886
commit beb8fbdf7f
2 changed files with 0 additions and 4 deletions
-1
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",
@@ -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 {