Remove GC step for callback collections, always drop callbacks asap
This commit is contained in:
parent
ef192a902a
commit
53cb3a4429
2 changed files with 42 additions and 33 deletions
|
@ -2123,16 +2123,6 @@ impl MutableAppContext {
|
|||
self.pending_notifications.clear();
|
||||
self.remove_dropped_entities();
|
||||
} else {
|
||||
self.focus_observations.gc();
|
||||
self.global_subscriptions.gc();
|
||||
self.global_observations.gc();
|
||||
self.subscriptions.gc();
|
||||
self.observations.gc();
|
||||
self.window_activation_observations.gc();
|
||||
self.window_fullscreen_observations.gc();
|
||||
self.keystroke_observations.gc();
|
||||
self.release_observations.gc();
|
||||
|
||||
self.remove_dropped_entities();
|
||||
|
||||
if refreshing {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue