{"action":"closed","issue":{"url":"https://api.github.com/repos/stephanenicolas/toothpick/issues/151","repository_url":"https://api.github.com/repos/stephanenicolas/toothpick","labels_url":"https://api.github.com/repos/stephanenicolas/toothpick/issues/151/labels{/name}","comments_url":"https://api.github.com/repos/stephanenicolas/toothpick/issues/151/comments","events_url":"https://api.github.com/repos/stephanenicolas/toothpick/issues/151/events","html_url":"https://github.com/stephanenicolas/toothpick/issues/151","id":177578570,"number":151,"title":"Closing a scope from multiple locations","user":{"login":"james5567","id":22257994,"avatar_url":"https://avatars.githubusercontent.com/u/22257994?v=3","gravatar_id":"","url":"https://api.github.com/users/james5567","html_url":"https://github.com/james5567","followers_url":"https://api.github.com/users/james5567/followers","following_url":"https://api.github.com/users/james5567/following{/other_user}","gists_url":"https://api.github.com/users/james5567/gists{/gist_id}","starred_url":"https://api.github.com/users/james5567/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/james5567/subscriptions","organizations_url":"https://api.github.com/users/james5567/orgs","repos_url":"https://api.github.com/users/james5567/repos","events_url":"https://api.github.com/users/james5567/events{/privacy}","received_events_url":"https://api.github.com/users/james5567/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-17T14:06:17Z","updated_at":"2016-09-19T19:32:08Z","closed_at":"2016-09-19T19:32:08Z","body":"How would one close a scope when it is being simultaneously accessed from multiple locations? For example in Android if you wan't to share a scope between two activities:\r\n\r\n         Shared Scope\r\n          /        \\\r\n         /          \\\r\n    Activity 1    Activity 2\r\n\r\nAnd you wan't to close it when both the activities are destroyed i.e after both of their `onDestroy` are called. Where exactly will you call `Toothpick.closeScope(SharedScope.class)` here?"}}
{"actor":{"display_login":"stephanenicolas"}}