mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 10:56:31 +00:00
correct app close
fix publishing
This commit is contained in:
@@ -71,8 +71,11 @@ public class PythonResourceLoader : IResourceLoader, IAuthProvider
|
||||
|
||||
public void StopPython()
|
||||
{
|
||||
_dealer.SendFrame(MessagePackSerializer.Serialize(new RemoteCommand(CommandType.Exit)));
|
||||
_dealer.Close();
|
||||
if (!_dealer.IsDisposed)
|
||||
{
|
||||
_dealer.SendFrame(MessagePackSerializer.Serialize(new RemoteCommand(CommandType.Exit)));
|
||||
_dealer.Close();
|
||||
}
|
||||
}
|
||||
|
||||
public MemoryStream LoadFileFromPython(string fileName, string? folder = null)
|
||||
|
||||
Reference in New Issue
Block a user