{"action":"closed","issue":{"url":"https://api.github.com/repos/xmartlabs/Eureka/issues/691","repository_url":"https://api.github.com/repos/xmartlabs/Eureka","labels_url":"https://api.github.com/repos/xmartlabs/Eureka/issues/691/labels{/name}","comments_url":"https://api.github.com/repos/xmartlabs/Eureka/issues/691/comments","events_url":"https://api.github.com/repos/xmartlabs/Eureka/issues/691/events","html_url":"https://github.com/xmartlabs/Eureka/issues/691","id":180021553,"number":691,"title":"Crash on FormViewController deinit","user":{"login":"svedm","id":7048258,"avatar_url":"https://avatars.githubusercontent.com/u/7048258?v=3","gravatar_id":"","url":"https://api.github.com/users/svedm","html_url":"https://github.com/svedm","followers_url":"https://api.github.com/users/svedm/followers","following_url":"https://api.github.com/users/svedm/following{/other_user}","gists_url":"https://api.github.com/users/svedm/gists{/gist_id}","starred_url":"https://api.github.com/users/svedm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svedm/subscriptions","organizations_url":"https://api.github.com/users/svedm/orgs","repos_url":"https://api.github.com/users/svedm/repos","events_url":"https://api.github.com/users/svedm/events{/privacy}","received_events_url":"https://api.github.com/users/svedm/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/xmartlabs/Eureka/labels/type:%20awaiting%20response","name":"type: awaiting response","color":"fbca04"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-29T11:20:30Z","updated_at":"2016-10-20T17:30:58Z","closed_at":"2016-10-20T17:30:58Z","body":"On first VC I create simple form with IntRow\r\n```\r\n    override func viewDidLoad() {\r\n        super.viewDidLoad()\r\n\r\n        form +++ Section()\r\n        <<< IntRow(\"Phone\") {\r\n            $0.title = \"qweqwe\"\r\n            $0.placeholder = \"asdasd\"\r\n            $0.cell.height = { 50 }\r\n        }\r\n    }\r\n```\r\nOn second View Controller I set it as rootVC in navigationController \r\n```\r\n        if let nav = navigationController {\r\n            nav.setViewControllers([self], animated: true)\r\n        }\r\n```\r\nAfter I call this code. Eureka was crashed with error\r\n```\r\n*** Terminating app due to uncaught exception 'NSRangeException', reason: 'Cannot remove an observer <Eureka.IntCell 0x7f9200849a00> for the key path \"text\" from <UITableViewLabel 0x7f920071b250> because it is not registered as an observer.'\r\n*** First throw call stack:\r\n(\r\n\t0   CoreFoundation                      0x0000000102da534b __exceptionPreprocess + 171\r\n\t1   libobjc.A.dylib                     0x00000001023f021e objc_exception_throw + 48\r\n\t2   CoreFoundation                      0x0000000102e0e265 +[NSException raise:format:] + 197\r\n\t3   Foundation                          0x0000000101f0a458 -[NSObject(NSKeyValueObserverRegistration) _removeObserver:forProperty:] + 493\r\n\t4   Foundation                          0x0000000101f0a212 -[NSObject(NSKeyValueObserverRegistration) removeObserver:forKeyPath:] + 84\r\n\t5   Eureka                              0x0000000101455db1 _TFC6Eureka10_FieldCellD + 497\r\n\t6   Eureka                              0x00000001014564e2 _TToFC6Eureka10_FieldCellD + 34\r\n\t7   CoreFoundation                      0x0000000102dfc20e common_removeAllObjects + 254\r\n\t8   CoreFoundation                      0x0000000102cd98c3 -[__NSArrayM dealloc] + 19\r\n\t9   libobjc.A.dylib                     0x0000000102404b12 _ZN11objc_object17sidetable_releaseEb + 212\r\n\t10  UIKit                               0x000000010423a02e -[UITableView .cxx_destruct] + 1365\r\n\t11  libobjc.A.dylib                     0x00000001023eea0a _ZL27object_cxxDestructFromClassP11objc_objectP10objc_class + 127\r\n\t12  libobjc.A.dylib                     0x00000001023fa4de objc_destructInstance + 129\r\n\t13  libobjc.A.dylib                     0x00000001023fa510 object_dispose + 22\r\n\t14  UIKit                               0x00000001042d8a72 -[UIResponder dealloc] + 146\r\n\t15  UIKit                               0x0000000104157960 -[UIView dealloc] + 1916\r\n\t16  UIKit                               0x00000001041931e8 -[UIScrollView dealloc] + 846\r\n\t17  UIKit                               0x0000000104210651 -[UITableView dealloc] + 444\r\n\t18  CoreFoundation                      0x0000000102dfc20e common_removeAllObjects + 254\r\n\t19  CoreFoundation                      0x0000000102cd98c3 -[__NSArrayM dealloc] + 19\r\n\t20  libobjc.A.dylib                     0x0000000102404b12 _ZN11objc_object17sidetable_releaseEb + 212\r\n\t21  libobjc.A.dylib                     0x00000001024051d1 _ZN12_GLOBAL__N_119AutoreleasePoolPage3popEPv + 715\r\n\t22  UIKit                               0x0000000104157938 -[UIView dealloc] + 1876\r\n\t23  libobjc.A.dylib                     0x00000001024051d1 _ZN12_GLOBAL__N_119AutoreleasePoolPage3popEPv + 715\r\n\t24  CoreFoundation                      0x0000000102cf2296 _CFAutoreleasePoolPop + 22\r\n\t25  CoreFoundation                      0x0000000102d2ef95 __CFRunLoopRun + 2213\r\n\t26  CoreFoundation                      0x0000000102d2e494 CFRunLoopRunSpecific + 420\r\n\t27  GraphicsServices                    0x000000010b16ea6f GSEventRunModal + 161\r\n\t28  UIKit                               0x00000001040c1f34 UIApplicationMain + 159\r\n\t29  ProjectName                           0x0000000100d9b3cf main + 111\r\n\t30  libdyld.dylib                       0x00000001072e468d start + 1\r\n)\r\nlibc++abi.dylib: terminating with uncaught exception of type NSException\r\n\r\n```\r\n\r\n\r\nLatest Eureka from master branch\r\nXcode Version 8.0 (8A218a)\r\n"}}
{"actor":{"display_login":"mtnbarreto"}}