Add some small test code for tracking down this list bug
This commit is contained in:
parent
d00067cd86
commit
db433586aa
5 changed files with 165 additions and 92 deletions
|
@ -1716,6 +1716,7 @@ impl<'a> WindowContext<'a> {
|
|||
.mouse_listeners
|
||||
.remove(&event.type_id())
|
||||
{
|
||||
dbg!(handlers.len());
|
||||
// Because handlers may add other handlers, we sort every time.
|
||||
handlers.sort_by(|(a, _, _), (b, _, _)| a.cmp(b));
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue