mirror of
https://github.com/chatmail/core.git
synced 2026-05-07 08:56:30 +03:00
address @dignifiedquire rustyness comment and fix changelog
This commit is contained in:
@@ -4,6 +4,12 @@
|
|||||||
- introduce automatic versioning via setuptools_scm,
|
- introduce automatic versioning via setuptools_scm,
|
||||||
based on py-X.Y.Z tags
|
based on py-X.Y.Z tags
|
||||||
|
|
||||||
|
- integrate latest DCC core-rust with dc_close() fixes
|
||||||
|
|
||||||
|
- provide a account.shutdown() method and improve termination
|
||||||
|
logic also in tests. also fixes output-clubbering during
|
||||||
|
test runs.
|
||||||
|
|
||||||
|
|
||||||
0.600.0
|
0.600.0
|
||||||
---------
|
---------
|
||||||
|
|||||||
@@ -135,7 +135,7 @@ pub fn dc_context_new(
|
|||||||
userdata: *mut libc::c_void,
|
userdata: *mut libc::c_void,
|
||||||
os_name: *const libc::c_char,
|
os_name: *const libc::c_char,
|
||||||
) -> Context {
|
) -> Context {
|
||||||
let context = Context {
|
Context {
|
||||||
blobdir: Arc::new(RwLock::new(std::ptr::null_mut())),
|
blobdir: Arc::new(RwLock::new(std::ptr::null_mut())),
|
||||||
dbfile: Arc::new(RwLock::new(std::ptr::null_mut())),
|
dbfile: Arc::new(RwLock::new(std::ptr::null_mut())),
|
||||||
inbox: Arc::new(RwLock::new({
|
inbox: Arc::new(RwLock::new({
|
||||||
@@ -179,8 +179,7 @@ pub fn dc_context_new(
|
|||||||
))),
|
))),
|
||||||
probe_imap_network: Arc::new(RwLock::new(0)),
|
probe_imap_network: Arc::new(RwLock::new(0)),
|
||||||
perform_inbox_jobs_needed: Arc::new(RwLock::new(0)),
|
perform_inbox_jobs_needed: Arc::new(RwLock::new(0)),
|
||||||
};
|
}
|
||||||
context
|
|
||||||
}
|
}
|
||||||
|
|
||||||
unsafe fn cb_receive_imf(
|
unsafe fn cb_receive_imf(
|
||||||
|
|||||||
Reference in New Issue
Block a user