Skip to content
This repository was archived by the owner on Dec 24, 2022. It is now read-only.

Commit ae0a470

Browse files
committed
Update RedisPubSubServer.cs
1 parent 38c88dc commit ae0a470

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/ServiceStack.Redis/RedisPubSubServer.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,9 @@ private void DisposeHeartbeatTimer()
209209

210210
try
211211
{
212+
if (Log.IsDebugEnabled)
213+
Log.DebugFormat("RedisPubServer.DisposeHeartbeatTimer()");
214+
212215
heartbeatTimer.Dispose();
213216
}
214217
catch (Exception ex)
@@ -548,6 +551,9 @@ public virtual void Dispose()
548551
{
549552
if (Interlocked.CompareExchange(ref status, 0, 0) == Status.Disposed)
550553
return;
554+
555+
if (Log.IsDebugEnabled)
556+
Log.Debug("RedisPubServer.Dispose()...");
551557

552558
Stop();
553559

0 commit comments

Comments
 (0)