From 3caff8aab1090ef69b0e49f8e87a52da7b643481 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Thu, 3 Jul 2025 00:13:55 -0400 Subject: Temporarily disable tags for WARP functions tag types are not thread safe Another set of bugs caused by undo and main thread actions, when will it end --- plugins/warp/src/plugin/workflow.rs | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) (limited to 'plugins/warp/src/plugin') diff --git a/plugins/warp/src/plugin/workflow.rs b/plugins/warp/src/plugin/workflow.rs index 487fccfe..1a0cd2dd 100644 --- a/plugins/warp/src/plugin/workflow.rs +++ b/plugins/warp/src/plugin/workflow.rs @@ -174,13 +174,17 @@ pub fn insert_workflow() { let bn_comment = comment_to_bn_comment(&function, comment); function.set_comment_at(bn_comment.addr, &bn_comment.comment); } - function.add_tag( - &get_warp_tag_type(&view), - &matched_function.guid.to_string(), - None, - false, - None, - ); + // TODO: Fix this before release. + // TODO: Any attempt to add a tag type will create a undo action + // TODO: Those are currently not thread safe when running in headless python. + // TODO: See Mason for more lore. + // function.add_tag( + // &get_warp_tag_type(&view), + // &matched_function.guid.to_string(), + // None, + // false, + // None, + // ); } }; -- cgit v1.3.1