Lock around LiStartConnection() and LiStopConnection() to fix thread-safety issues. This will hopefully address the crashes seen in 1.0.3 and 1.0.4.
This commit is contained in:
parent
983c65d399
commit
1783abec13
5 changed files with 18 additions and 24 deletions
|
|
@ -84,7 +84,7 @@
|
|||
[self presentViewController:conTermAlert animated:YES completion:nil];
|
||||
});
|
||||
|
||||
[_streamMan stopStreamInternal];
|
||||
[_streamMan stopStream];
|
||||
}
|
||||
|
||||
- (void) stageStarting:(char*)stageName {
|
||||
|
|
@ -115,7 +115,7 @@
|
|||
[self presentViewController:alert animated:YES completion:nil];
|
||||
});
|
||||
|
||||
[_streamMan stopStreamInternal];
|
||||
[_streamMan stopStream];
|
||||
}
|
||||
|
||||
- (void) launchFailed:(NSString*)message {
|
||||
|
|
|
|||
Loading…
Reference in a new issue