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:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user