fn drop()

in src/platform_impl/macos/window.rs [1149:1155]


    fn drop(&mut self) {
        trace!("Dropping `UnownedWindow` ({:?})", self as *mut _);
        // Close the window if it has not yet been closed.
        if *self.ns_window != nil {
            unsafe { util::close_async(*self.ns_window) };
        }
    }