`impl Send for Connection`

master
Nolan Darilek 5 years ago
parent 87018e0e83
commit 96cd1e9553

@ -2,6 +2,7 @@
extern crate speech_dispatcher_sys;
use std::ffi::{CStr, CString};
use std::marker::Send;
use speech_dispatcher_sys::*;
@ -503,6 +504,9 @@ impl Connection {
}
unsafe impl Send for Connection {
}
impl Drop for Connection {
fn drop(&mut self) {
self.close();

Loading…
Cancel
Save