fix: instrumentation
This commit is contained in:
@@ -121,6 +121,7 @@ impl AliasList {
|
||||
fn add(&self, node: &Arc<Node>) {
|
||||
self.0.add_raw(node);
|
||||
}
|
||||
#[tracing::instrument(level = "trace", skip_all)]
|
||||
pub fn get_from_original_node(&self, original: Weak<Node>) -> Option<Arc<Node>> {
|
||||
self.0
|
||||
.get_valid_contents()
|
||||
|
||||
@@ -137,6 +137,7 @@ impl InputMethod {
|
||||
self.capture_attempts.remove(handler);
|
||||
}
|
||||
|
||||
#[tracing::instrument(level = "trace", skip(self, handler))]
|
||||
pub(super) fn serialize(&self, alias_id: u64, handler: &Arc<InputHandler>) -> InputData {
|
||||
let mut input = self.data.lock().clone();
|
||||
input.transform(self, handler);
|
||||
|
||||
Reference in New Issue
Block a user