9swampy / Telnet

Published on Nuget at https://www.nuget.org/packages/Telnet

Home Page:http://www.nugetmusthaves.com/Package/Telnet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

token.register calls this.internalCancellation.Cancel()

A9G-Data-Droid opened this issue · comments

token.Register(() => this.internalCancellation.Cancel());

What this says is "After we have received a cancel command, send a cancel command". I only noticed this because it throws a null exception. The null exception is due to the cancel command already being done.

I recommend removing this line altogether.