Created
January 14, 2018 01:54
-
-
Save ezura/19f6ab29acb1e5ea31480e5423cbeed7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var global: Any? = nil | |
class A { | |
deinit { | |
global = self | |
} | |
} | |
do { | |
_ = A() | |
} | |
// ❗️: error: Execution was interrupted, reason: EXC_BAD_ACCESS. | |
global |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment