Skip to content

Commit 3caff8a

Browse files
committed
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
1 parent eb36a2b commit 3caff8a

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

plugins/warp/src/plugin/workflow.rs

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -174,13 +174,17 @@ pub fn insert_workflow() {
174174
let bn_comment = comment_to_bn_comment(&function, comment);
175175
function.set_comment_at(bn_comment.addr, &bn_comment.comment);
176176
}
177-
function.add_tag(
178-
&get_warp_tag_type(&view),
179-
&matched_function.guid.to_string(),
180-
None,
181-
false,
182-
None,
183-
);
177+
// TODO: Fix this before release.
178+
// TODO: Any attempt to add a tag type will create a undo action
179+
// TODO: Those are currently not thread safe when running in headless python.
180+
// TODO: See Mason for more lore.
181+
// function.add_tag(
182+
// &get_warp_tag_type(&view),
183+
// &matched_function.guid.to_string(),
184+
// None,
185+
// false,
186+
// None,
187+
// );
184188
}
185189
};
186190

0 commit comments

Comments
 (0)