Changeset 371

Show
Ignore:
Timestamp:
04/09/07 19:57:08 (2 years ago)
Author:
hagedorn
Message:

commenting out complicated stuff

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/LaserLine_2.0/Src/MainController.m

    r369 r371  
    5555 
    5656- (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)sender { 
     57        /* 
    5758        if ([output stopDevice]) { 
    5859                NSLog(@"applicationShouldTerminate: later..."); 
     
    6061        } 
    6162        NSLog(@"applicationShouldTerminate: now!"); 
     63         */ 
     64        [output stopDevice]; 
     65        sleep(1); 
    6266        return NSTerminateNow; 
    6367} 
  • trunk/LaserLine_2.0/Src/OutputController/EasyLaseDriverThread.m

    r369 r371  
    110110        [self stopCards]; 
    111111        JRLogDebug(@"Driver Thread is exiting."); 
     112        /* 
    112113        NSInvocation *reply = 
    113114                [NSInvocation invocationWithMethodSignature:[NSApp methodSignatureForSelector:@selector(replyToApplicationShouldTerminate:)]]; 
     
    115116        [reply setArgument:(void *)YES atIndex:2]; 
    116117        [reply performSelectorOnMainThread:@selector(invoke) withObject:nil waitUntilDone:NO]; 
     118         */ 
    117119        [pool release]; 
    118120}