Merge pull request #19849 from rmstar/remove_connecivitymonitor

Remove references to GRPCConnectivityMonitor from ConnectivityTestingApp
pull/19940/head
rmstar 6 years ago committed by GitHub
commit 5d6001dd95
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      src/objective-c/tests/Connectivity/ConnectivityTestingApp/ViewController.m

@ -24,8 +24,6 @@
#import <RxLibrary/GRXWriter+Immediate.h>
#import <RxLibrary/GRXWriter+Transformations.h>
#import "src/objective-c/GRPCClient/private/GRPCConnectivityMonitor.h"
NSString *host = @"grpc-test.sandbox.googleapis.com";
@interface ViewController : UIViewController
@ -34,10 +32,6 @@ NSString *host = @"grpc-test.sandbox.googleapis.com";
@implementation ViewController
- (void)viewDidLoad {
[super viewDidLoad];
#ifndef GRPC_CFSTREAM
[GRPCConnectivityMonitor registerObserver:self selector:@selector(reachabilityChanged:)];
#endif
}
- (void)reachabilityChanged:(NSNotification *)note {

Loading…
Cancel
Save