B2017-084: Fix hang when closing PROMS with Word doc open & open/close of RO Editor
B2017-084: Fix hang when closing PROMS with Word doc open & open/close of RO Editor.
This commit is contained in:
@@ -13,6 +13,7 @@ namespace Volian.Controls.Library
|
||||
/// <param name="disposing">true if managed resources should be disposed; otherwise, false.</param>
|
||||
protected override void Dispose(bool disposing)
|
||||
{
|
||||
ShuttingDown = true;
|
||||
// Cleanup Bars
|
||||
if (dotNetBarManager1.Bars != null)
|
||||
foreach (DevComponents.DotNetBar.Bar myBar in dotNetBarManager1.Bars)
|
||||
|
@@ -696,8 +696,16 @@ namespace Volian.Controls.Library
|
||||
get { return _PnlCaret; }
|
||||
}
|
||||
private static int trackerSC = 0;
|
||||
private bool _ShuttingDown = false;
|
||||
|
||||
public bool ShuttingDown
|
||||
{
|
||||
get { return _ShuttingDown; }
|
||||
set { _ShuttingDown = value; }
|
||||
}
|
||||
public void ShowCaret()
|
||||
{
|
||||
if (_ShuttingDown) return;
|
||||
if (_MyStepRTB != null)
|
||||
{
|
||||
if (_MyEditItem.RTBLastFocus)
|
||||
|
Reference in New Issue
Block a user