Skip to content

Commit

Permalink
Fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
sveinbjornt committed Jul 11, 2015
1 parent 2a30536 commit 6886995
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions Documentation/Credits.html
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ <h4>Monetary Donators</h4>
Thomas Evanko<br>
Paul Hildebrandt<br>
Eric Cornwell<br>
Kelly Heller<br>
</p></blockquote>
<!--googleon: all-->

Expand Down
3 changes: 2 additions & 1 deletion ScriptExec/ScriptExecController.m
Original file line number Diff line number Diff line change
Expand Up @@ -1354,8 +1354,9 @@ - (void)menuNeedsUpdate:(NSMenu *)menu {

// run script and wait until we've received all the script output
[self executeScript];
while (isTaskRunning)
while (isTaskRunning) {
usleep(50000); // microseconds
}

// create an array of lines by separating output by newline
NSMutableArray *lines = [NSMutableArray arrayWithArray:[[textOutputTextView string] componentsSeparatedByString:@"\n"]];
Expand Down

0 comments on commit 6886995

Please sign in to comment.