fix: 修复3个P0遗留 — AutoRollback回退/ConfigReloaded序列化/FfiString跨allocator
This commit is contained in:
@@ -316,8 +316,8 @@ impl Plugin for HttpPlugin {
|
||||
}
|
||||
}
|
||||
Message::ConfigReloaded(config) => {
|
||||
state.replace_config(Arc::clone(&config));
|
||||
if let Some(payload) = encode_ws_event("config_update", config.as_ref()) {
|
||||
state.replace_config(Arc::new(config.clone()));
|
||||
if let Some(payload) = encode_ws_event("config_update", &config) {
|
||||
state.publish_ws(payload);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user