Reactant icon indicating copy to clipboard operation
Reactant copied to clipboard

Component.setComponentState should use `weak` self instead of `unowned`

Open MatyasKriz opened this issue 8 years ago • 0 comments

Component.swift file, using unowned can result in a crash in case self is deinitialized (e.g. in a Observable subscription when not disposing it on its deinit).

MatyasKriz avatar Oct 26 '17 09:10 MatyasKriz