OrderBookColumnCollection - add 'finally' block to try/catch in InsertItem()
This commit is contained in:
1 parent
74aed2144d
commit
4ddb8fe9c5
1 file changed
+1
-2
@@ -423,8 +423,7 @@ namespace mbts.spark {
|
||||
base.InsertItem(index, item);
|
||||
} catch {
|
||||
_unhook(col);
|
||||
throw;
|
||||
}
|
||||
} finally { }
|
||||
} else {
|
||||
Log.Ui.warn($"{nameof(OrderBookColumnCollection)} added a column that is not of type {nameof(ICVOrderBookColumn)}");
|
||||
base.InsertItem(index, item);
|
||||
|
||||
Reference in new issue
Block a user