[OpenSmalltalk/opensmalltalk-vm] ecd41a: Fix Events causing crashes in autorelease

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[OpenSmalltalk/opensmalltalk-vm] ecd41a: Fix Events causing crashes in autorelease

GitHub
 
  Branch: refs/heads/Cog
  Home:   https://github.com/OpenSmalltalk/opensmalltalk-vm
  Commit: ecd41af43d43ace633ccf2d53f3774161a793792
      https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/ecd41af43d43ace633ccf2d53f3774161a793792
  Author: Tobias Pape <[hidden email]>
  Date:   2018-02-06 (Tue, 06 Feb 2018)

  Changed paths:
    M platforms/iOS/vm/OSX/sqSqueakOSXCGView.m
    M platforms/iOS/vm/OSX/sqSqueakOSXOpenGLView.m

  Log Message:
  -----------
  Fix Events causing crashes in autorelease

(hopefully) fixes #141 (thanks to @mpw)

Culprit: using lastSeenKeyBoardStrokeDetails sometimes with, sometimes
without `self.`, thus confusing the retaincount done in the generated
accessors. (lastSeenKeyBoardModifierDetails already did the right thing)