Ignore:
Timestamp:
Sep 19, 2018 5:00:17 PM (2 years ago)
Author:
meeh <meeh@…>
Branches:
master
Children:
0f8a618
Parents:
802115e
Message:

Cleaning up the code base, remove dead code and failed attempts.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • launchers/macosx/RouterTask.mm

    r802115e re046418f  
    5050        object:stdoutFileHandle];
    5151
    52     [stdoutFileHandle waitForDataInBackgroundAndNotify];
     52  [stdoutFileHandle waitForDataInBackgroundAndNotify];
    5353
    54     [self.routerTask setTerminationHandler:^(NSTask* task) {
    55       NSLog(@"termHandler triggered!");
    56       auto swiftRouterStatus = [[RouterProcessStatus alloc] init];
    57       [swiftRouterStatus setRouterStatus: true];
    58       NSBundle *launcherBundle = [NSBundle mainBundle];
    59       auto iconImage = [launcherBundle pathForResource:@"AppIcon" ofType:@"png"];
    60       sendUserNotification(APP_IDSTR, @"I2P Router has stopped");
    61       // Cleanup
    62       self.isRouterRunning = NO;
    63     }];
     54  [self.routerTask setTerminationHandler:^(NSTask* task) {
     55    NSLog(@"termHandler triggered!");
     56    auto swiftRouterStatus = [[RouterProcessStatus alloc] init];
     57    [swiftRouterStatus setRouterStatus: true];
     58    sendUserNotification(APP_IDSTR, @"I2P Router has stopped");
     59    // Cleanup
     60    //self.isRouterRunning = NO;
     61  }];
    6462/*
    6563    self.readLogHandle = [self.processPipe fileHandleForReading];
Note: See TracChangeset for help on using the changeset viewer.