Skip to content

Commit

Permalink
code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
tinohager committed Sep 22, 2024
1 parent 6a9cd12 commit d5c4e78
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions Src/SmtpServer/SmtpSessionManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -102,20 +102,6 @@ public SmtpSessionHandle(SmtpSession session, SmtpSessionContext sessionContext)
public SmtpSessionContext SessionContext { get; }

public Task CompletionTask { get; set; }

public override bool Equals(object obj)
{
if (obj is SmtpSessionHandle other)
{
return SessionContext.SessionId == other.SessionContext.SessionId;
}
return false;
}

public override int GetHashCode()
{
return SessionContext.SessionId.GetHashCode();
}
}
}
}

0 comments on commit d5c4e78

Please sign in to comment.