cleanup: Remove commented out code from DSQA MainForm.cs
This commit is contained in:
1 parent
12d9185b6e
commit
f4451ad2f4
1 file changed
-23
@@ -218,9 +218,6 @@ namespace BCG {
|
||||
myExp = exp;
|
||||
myCrono.Restart();
|
||||
|
||||
// object locker = new();
|
||||
// IDataPacket? pendingDataPacket = null;
|
||||
// bool isBusy = false;
|
||||
var version = Interlocked.Increment(ref pendingVersion);
|
||||
var streamObj = myExp.Evaluate(streamFactory);
|
||||
if (streamObj is not ViewStream stream) {
|
||||
@@ -238,28 +235,8 @@ namespace BCG {
|
||||
}
|
||||
isBusy = true;
|
||||
}
|
||||
// BeginInvoke(() => {
|
||||
// while (true) {
|
||||
// IDataPacket? currDp = null;
|
||||
// lock (locker) {
|
||||
// currDp = pendingDataPacket;
|
||||
// pendingDataPacket = null;
|
||||
// if (currDp is null) {
|
||||
// isBusy = false;
|
||||
// break;
|
||||
// }
|
||||
// }
|
||||
// myCallback(currDp);
|
||||
// }
|
||||
// });
|
||||
});
|
||||
myChangeStyle = true;
|
||||
//new SimpleBindableStream(myExp.getView(new Hashtable())).onChange += new DataStream.ChangeDelegate(myCallback);
|
||||
/*
|
||||
if (oldExp != null)
|
||||
oldExp.getView(new Hashtable()).onChange -= new DataStream.ChangeDelegate(myCallback);
|
||||
*/
|
||||
//myQueryTextBox.Text = expStr;
|
||||
}
|
||||
catch (Exception exc)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user