Skip to content

Commit

Permalink
chore: code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
akornich committed Apr 19, 2022
1 parent 4a28480 commit a194b84
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 6 deletions.
4 changes: 0 additions & 4 deletions RollbarNotifier/Sources/RollbarNotifier/RollbarLogger.m
Original file line number Diff line number Diff line change
Expand Up @@ -114,10 +114,6 @@ + (void)initialize {

RollbarConfig *config = [RollbarConfig new];

// Setup the worker thread that atomatically collects pre-configured telemetry events (if any):
//[[RollbarTelemetryThread sharedInstance] configureWithOptions:config.telemetry];
//[[RollbarTelemetryThread sharedInstance] start];

// Setup the worker thread that sends the items that have been queued up in the item file set above:
// TODO: !!! this needs to be redesigned taking in account multiple access tokens and endpoints !!!
RollbarLogger *logger = [[RollbarLogger alloc] initWithConfiguration:config];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ + (nonnull instancetype)sharedInstance {

dispatch_once(&onceToken, ^{

//singleton = [[[self class] alloc] initWithTarget:singleton selector:@selector(run) object:nil];
singleton = [[self class] alloc];
if ((singleton = [singleton initWithTarget:singleton //self
selector:@selector(run)
Expand Down Expand Up @@ -94,7 +93,6 @@ - (BOOL)setupTimer {
if (self->_timer && self->_timer.timeInterval == self->_collectionTimeInterval) {

// nothing fundamental needs reconfiguration...
//return (nil != self->_timer);
return !(0.0 == self->_timer.timeInterval);
}

Expand Down

0 comments on commit a194b84

Please sign in to comment.