summaryrefslogtreecommitdiff
path: root/plugins/warp/src/plugin
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-07-03 00:13:55 -0400
committerMason Reed <mason@vector35.com>2025-07-03 00:13:59 -0400
commit3caff8aab1090ef69b0e49f8e87a52da7b643481 (patch)
tree5d6b87c11a332d11cc1bb51bae1109957a34f765 /plugins/warp/src/plugin
parenteb36a2b19746fdcb849cb14685bb56bd19134166 (diff)
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
Diffstat (limited to 'plugins/warp/src/plugin')
-rw-r--r--plugins/warp/src/plugin/workflow.rs18
1 files changed, 11 insertions, 7 deletions
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,
+ // );
}
};