public void StopGame() { Debug.WriteLine("On es ici"); if (tarot != null && tarot.IsAlive) { PlEngine.PlHalt(); tarot.Abort(); } else if (tarot.ThreadState == System.Threading.ThreadState.Stopped) { PlEngine.PlCleanup(); } }
private void clean() { PlEngine.PlHalt(); }