public async Task UserInfo_Disposed() { tc = new TumblrClientFactory().Create <TumblrClient>(_consumerKey, _consumerSecret, new Token(_accessKey, _accessSecret)); tc.Dispose(); var userInfo = await tc.GetUserInfoAsync(); }
private void FrAuthenticate_FormClosed(object sender, FormClosedEventArgs e) { if (tumblrClient != null) { tumblrClient.Dispose(); tumblrUrlProtocol.Remove(); } }