Skip to content

Commit

Permalink
Silence warning
Browse files Browse the repository at this point in the history
  • Loading branch information
LIJI32 committed Aug 12, 2023
1 parent 3bad68f commit 240d8d1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Cocoa/Document.m
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,9 @@ - (void) start
}
if (_running) return;
_running = true;
[_emulationThread = [[NSThread alloc] initWithTarget:self selector:@selector(run) object:nil] start];
NSThread *emulationThraed = [[NSThread alloc] initWithTarget:self selector:@selector(run) object:nil];
_emulationThread = emulationThraed;
[emulationThraed start];
}

- (void) stop
Expand Down

0 comments on commit 240d8d1

Please sign in to comment.