We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d52f13f commit 9dc62caCopy full SHA for 9dc62ca
projects/client/Unit/src/unit/TestMessagePatternsSubscription.cs
@@ -112,19 +112,11 @@ protected class SubscriptionDrainer
112
{
113
protected Subscription m_subscription;
114
protected bool m_ack;
115
- protected System.Timers.Timer m_timer;
116
- protected volatile bool shouldStop = false;
117
118
public SubscriptionDrainer(Subscription sub, bool ack)
119
120
m_subscription = sub;
121
m_ack = ack;
122
- m_timer = new System.Timers.Timer(5000);
123
- m_timer.Elapsed += delegate (object o, ElapsedEventArgs args)
124
- {
125
- shouldStop = true;
126
- };
127
- m_timer.Enabled = true;
128
}
129
130
public void Drain()
0 commit comments