private void Form1_FormClosing(object sender, FormClosingEventArgs e) { timerForPlaying.Stop(); Log("StopTimer"); LibPlayer.DestroyPlayer(player); Log("DestroyPlayer"); LibPlayer.DestroyRender(render); Log("DestroyRender"); }
private void buttonReleaseGL_Click(object sender, EventArgs e) { LibPlayer.DestroyRender(render); Log("DestroyRender"); }