[Vm-dev] [OpenSmalltalk/opensmalltalk-vm] fix event memory leak (#373)
Tobias Pape
notifications at github.com
Thu Feb 28 11:22:54 UTC 2019
krono commented on this pull request.
> - }
-
- // Put back in the queue all events that did not belong to this window
- // They will be managed by other windowing systems
- // (or by a subsequent invocation to this function)
- while ((event = [alienEventQueue firstObject])) {
- [NSApp postEvent: event atStart: NO];
- [alienEventQueue removeObject: event];
+ }
+ // Put back in the queue all events that did not belong to this window
+ // They will be managed by other windowing systems
+ // (or by a subsequent invocation to this function)
+ while ((event = [alienEventQueue firstObject])) {
+ [NSApp postEvent: event atStart: NO];
+ [alienEventQueue removeObject: event];
+ }
…and this
```suggestion
}
RELEASEOBJ(alienEventQueue)
```
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/373#pullrequestreview-209018067
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20190228/d8ef4a01/attachment-0001.html>
More information about the Vm-dev
mailing list