Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class Dummy {
- let x = 0
- deinit {
- print("deinit")
- }
- }
- var x: Dummy? = Dummy()
- print("dereferenced started")
- x = nil
- print("dereferenced finished")
Advertisement
Comments
-
- https://pastebin.com/VncD49sJ
-
Comment was deleted
-
- https://pastebin.com/VKCxY2Kq
Add Comment
Please, Sign In to add comment
Advertisement