{"action":"opened","issue":{"url":"https://api.github.com/repos/loekd/ServiceFabric.PubSubActors/issues/1","repository_url":"https://api.github.com/repos/loekd/ServiceFabric.PubSubActors","labels_url":"https://api.github.com/repos/loekd/ServiceFabric.PubSubActors/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/loekd/ServiceFabric.PubSubActors/issues/1/comments","events_url":"https://api.github.com/repos/loekd/ServiceFabric.PubSubActors/issues/1/events","html_url":"https://github.com/loekd/ServiceFabric.PubSubActors/issues/1","id":179367632,"number":1,"title":"BrokerService.UnregisterSubscriberAsync deletes the subscriber actor message queue","user":{"login":"schernets","id":3813950,"avatar_url":"https://avatars.githubusercontent.com/u/3813950?v=3","gravatar_id":"","url":"https://api.github.com/users/schernets","html_url":"https://github.com/schernets","followers_url":"https://api.github.com/users/schernets/followers","following_url":"https://api.github.com/users/schernets/following{/other_user}","gists_url":"https://api.github.com/users/schernets/gists{/gist_id}","starred_url":"https://api.github.com/users/schernets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schernets/subscriptions","organizations_url":"https://api.github.com/users/schernets/orgs","repos_url":"https://api.github.com/users/schernets/repos","events_url":"https://api.github.com/users/schernets/events{/privacy}","received_events_url":"https://api.github.com/users/schernets/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-27T00:07:18Z","updated_at":"2016-09-27T00:07:18Z","closed_at":null,"body":"When my actor after handling a specific TMessage unsubscribes from it, the subject method removes the corresponding subscriber from `_queues ` ConcurrentDictionary as well as the message queue. Hence, subsequent messages are not delivered.\r\n\r\n```\r\nawait StateManager.RemoveAsync(tx, reference.GetQueueName());\r\nawait StateManager.RemoveAsync(tx, reference.GetDeadLetterQueueName());\r\nServiceEventSourceMessage($\"Unregistered subscriber: {reference.Name}\");\r\n_queues.TryRemove(reference.GetQueueName(), out reference);\r\n```\r\n"}}
{"actor":{"display_login":"schernets"}}