[][src]Function tetra::window::quit

pub fn quit(ctx: &mut Context)

Quits the game, if it is currently running.

Note that quitting the game does not take effect until the end of the current cycle of the game loop. This will probably change later.