[chronojump] try catch in encoder analyze (now can do it because RDotNet is not used)
- From: Xavier de Blas <xaviblas src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [chronojump] try catch in encoder analyze (now can do it because RDotNet is not used)
- Date: Fri, 27 Feb 2015 17:36:14 +0000 (UTC)
commit 147b98e3a855467fc4d35d2c8095a4e1cb654a5a
Author: Xavier de Blas <xaviblas gmail com>
Date: Fri Feb 27 18:34:47 2015 +0100
try catch in encoder analyze (now can do it because RDotNet is not used)
src/utilEncoder.cs | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/utilEncoder.cs b/src/utilEncoder.cs
index 80e1998..b85f675 100644
--- a/src/utilEncoder.cs
+++ b/src/utilEncoder.cs
@@ -611,7 +611,8 @@ public class UtilEncoder
File.Delete(es.SpecialData);
//try catch crash sometimes when used in conjunction with RDotNet
-// try {
+ //now RDotNet is not used
+ try {
p = new Process();
p.StartInfo = pinfo;
p.Start();
@@ -625,11 +626,9 @@ public class UtilEncoder
while ( ! ( File.Exists(outputFileCheck) || CancelRScript) );
else
while ( ! ( (File.Exists(outputFileCheck) && File.Exists(outputFileCheck2))
|| CancelRScript ) );
- /*
} catch {
return false;
}
- */
return true;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]