public static void Main(string[] args) { // Workaround for mono issue #12557: https://github.com/mono/mono/issues/12557 Environment.SetEnvironmentVariable("MONO_MANAGED_WATCHER", "dummy"); var code = Arc.YTSubConverter.Program.Main(args); LibC.exit(code); }
static void Terminate() { // Workaround for not exiting the app because of pending threads related to UrlProtocol subclass. var app = NSApplication.SharedApplication; if (app.Running) { app.Terminate(NSApplication.SharedApplication); } else { LibC.exit(0); } }
public static void Main(string[] args) { var code = FormsTest.Program.Main(args); LibC.exit(code); }