feat:IInline math equation (#2949)

This commit is contained in:
Lucas.Xu
2023-07-09 10:03:22 +07:00
committed by GitHub
parent 4c17298432
commit ff9b3c56c5
43 changed files with 500 additions and 120 deletions

View File

@ -6,7 +6,7 @@ use lazy_static::lazy_static;
use parking_lot::RwLock;
use flowy_core::*;
use flowy_notification::register_notification_sender;
use flowy_notification::{register_notification_sender, unregister_all_notification_sender};
use lib_dispatch::prelude::ToBytes;
use lib_dispatch::prelude::*;
@ -90,6 +90,8 @@ pub extern "C" fn sync_event(input: *const u8, len: usize) -> *const u8 {
#[no_mangle]
pub extern "C" fn set_stream_port(port: i64) -> i32 {
// Make sure hot reload won't register the notification sender twice
unregister_all_notification_sender();
register_notification_sender(DartNotificationSender::new(port));
0
}