From f4451ad2f4a82d3cd1d462e87c6f6ce9464aa86f Mon Sep 17 00:00:00 2001 From: John Colvin Date: Fri, 31 Oct 2025 14:03:07 -0400 Subject: [PATCH] cleanup: Remove commented out code from DSQA MainForm.cs --- .../DataStreamQueryAnalyzer/MainForm.cs | 23 ------------------- 1 file changed, 23 deletions(-) diff --git a/src/DataStreamSuite/DataStreamQueryAnalyzer/MainForm.cs b/src/DataStreamSuite/DataStreamQueryAnalyzer/MainForm.cs index 24087cd82..cb330b535 100644 --- a/src/DataStreamSuite/DataStreamQueryAnalyzer/MainForm.cs +++ b/src/DataStreamSuite/DataStreamQueryAnalyzer/MainForm.cs @@ -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) {