Disable mono specific code

This commit is contained in:
kaso17
2017-01-20 14:03:03 +01:00
parent daa96313ef
commit 073c23c177

View File

@@ -9,9 +9,12 @@ using System.Reflection;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
/*
// no supported by appveyor, disabeling for now
#if __MonoCS__
using Mono.Unix.Native;
#endif
*/
namespace Jackett.Updater
{
@@ -64,10 +67,13 @@ namespace Jackett.Updater
var exited = proc.WaitForExit(5000);
if (!exited)
Engine.Logger.Info("Process " + pid.ToString() + " didn't exit within 5 seconds");
/*
// no supported by appveyor, disabeling for now
#if __MonoCS__
Engine.Logger.Info("Sending SIGKILL to process " + pid.ToString());
Syscall.kill(proc.Id, Signum.SIGKILL);
#endif
*/
}
catch (ArgumentException e)
{