{"action":"closed","issue":{"url":"https://api.github.com/repos/eclipse/smarthome/issues/2596","repository_url":"https://api.github.com/repos/eclipse/smarthome","labels_url":"https://api.github.com/repos/eclipse/smarthome/issues/2596/labels{/name}","comments_url":"https://api.github.com/repos/eclipse/smarthome/issues/2596/comments","events_url":"https://api.github.com/repos/eclipse/smarthome/issues/2596/events","html_url":"https://github.com/eclipse/smarthome/issues/2596","id":193685340,"number":2596,"title":"BridgeHandler or ThingHandler Are Not Disposed after Bundle Uninstalled?","user":{"login":"lsafelix75","id":13405324,"avatar_url":"https://avatars.githubusercontent.com/u/13405324?v=3","gravatar_id":"","url":"https://api.github.com/users/lsafelix75","html_url":"https://github.com/lsafelix75","followers_url":"https://api.github.com/users/lsafelix75/followers","following_url":"https://api.github.com/users/lsafelix75/following{/other_user}","gists_url":"https://api.github.com/users/lsafelix75/gists{/gist_id}","starred_url":"https://api.github.com/users/lsafelix75/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lsafelix75/subscriptions","organizations_url":"https://api.github.com/users/lsafelix75/orgs","repos_url":"https://api.github.com/users/lsafelix75/repos","events_url":"https://api.github.com/users/lsafelix75/events{/privacy}","received_events_url":"https://api.github.com/users/lsafelix75/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":8,"created_at":"2016-12-06T05:16:38Z","updated_at":"2016-12-14T07:26:28Z","closed_at":"2016-12-14T07:26:28Z","body":"Hi,\r\n\r\nJust want to understand more on the new thing life cycle. \r\nLet's say I already have a custom bundle with bridge and child things initialized (called initialize()). Then i decide to uninstall the bundle and update a new one and start it. Issue that i have noticed is, those new bridge/child thinghandler never call initialize() anymore. Is this as expected? \r\n\r\nAssume that creation things are in the realm of entire ESH framework and does not lie on individual bundle (means bridge/child things will be created when ESH started), whenever i **restart/reinstall** a custom bundle, should i rely on \"initialize()\" of BaseThingHandler or BaseBridgeHandler to properly initialize resources of individual things? "}}
{"actor":{"display_login":"kaikreuzer"}}