File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -75,12 +75,12 @@ using (var serviceProvider = services.BuildServiceProvider())
7575 var ftpServerHost = serviceProvider .GetRequiredService <IFtpServerHost >();
7676
7777 // Start the FTP server
78- ftpServerHost .StartAsync ().Wait ();
78+ ftpServerHost .StartAsync (CancellationToken . None ).Wait ();
7979
8080 Console .WriteLine (" Press ENTER/RETURN to close the test application." );
8181 Console .ReadLine ();
8282
8383 // Stop the FTP server
84- ftpServerHost .StopAsync ().Wait ();
84+ ftpServerHost .StopAsync (CancellationToken . None ).Wait ();
8585}
8686```
Original file line number Diff line number Diff line change 1010 </ItemGroup >
1111
1212 <ItemGroup >
13- <ProjectReference Include =" ..\..\src\FubarDev.FtpServer.Commands\FubarDev.FtpServer.Commands.csproj" />
1413 <ProjectReference Include =" ..\..\src\FubarDev.FtpServer.FileSystem.DotNet\FubarDev.FtpServer.FileSystem.DotNet.csproj" />
1514 <ProjectReference Include =" ..\..\src\FubarDev.FtpServer\FubarDev.FtpServer.csproj" />
1615 </ItemGroup >
You can’t perform that action at this time.
0 commit comments