B2017-157 Disable PingSession during import. This eliminates deadlock errors

This commit is contained in:
Rich 2017-07-28 18:28:29 +00:00
parent 378d5d3c50
commit 8dc67fac8e

View File

@ -244,8 +244,10 @@ namespace VEPROMS
// * set newRODbid to MyDocVersion rodbid
// - or convert ROs to text
TurnChangeManagerOff.Execute();
// Added Try Catch Error Handling to assure that the Change Manager is tuned-on
// Added Try Catch Error Handling to assure that the Change Manager is tuned-off
MyFrmVEPROMS.DisablePing = true;// Turn-off SessionPing B2017-157
bool result = TryToImportProcedure(ref isImported, ref canceledPressed);
MyFrmVEPROMS.DisablePing = false;// Turn-on SessionPing
TurnChangeManagerOn.Execute();
if (!result) return;
if (isImported)