Changeset 373
- Timestamp:
- 04/09/07 20:34:14 (1 year ago)
- Files:
-
- trunk/LaserLine_2.0/Src/MainController.m (modified) (2 diffs)
- trunk/LaserLine_2.0/Src/OutputController/EasyLaseDriverThread.m (modified) (3 diffs)
- trunk/LaserTools/FlashInspector/AppDelegate.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/LaserLine_2.0/Src/MainController.m
r371 r373 55 55 56 56 - (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)sender { 57 /*57 58 58 if ([output stopDevice]) { 59 59 NSLog(@"applicationShouldTerminate: later..."); … … 61 61 } 62 62 NSLog(@"applicationShouldTerminate: now!"); 63 */ 63 64 /* 64 65 [output stopDevice]; 65 66 sleep(1); 67 */ 66 68 return NSTerminateNow; 67 69 } trunk/LaserLine_2.0/Src/OutputController/EasyLaseDriverThread.m
r371 r373 51 51 JRLogDebug(@"Card closed successfully."); 52 52 } 53 53 54 } 54 55 … … 110 111 [self stopCards]; 111 112 JRLogDebug(@"Driver Thread is exiting."); 112 /*113 113 114 NSInvocation *reply = 114 115 [NSInvocation invocationWithMethodSignature:[NSApp methodSignatureForSelector:@selector(replyToApplicationShouldTerminate:)]]; … … 116 117 [reply setArgument:(void *)YES atIndex:2]; 117 118 [reply performSelectorOnMainThread:@selector(invoke) withObject:nil waitUntilDone:NO]; 118 */ 119 120 119 121 [pool release]; 120 122 } trunk/LaserTools/FlashInspector/AppDelegate.h
r287 r373 8 8 9 9 #import <Cocoa/Cocoa.h> 10 #import <LaserTools/LaserTools.h>10 #import "LaserTools/LaserTools.h" 11 11 //#import <LaserTools.h> 12 12 #import "LTRenderedContextView.h"
