Disconnect not work

Options
Hello! I want to make disconnections of all players, took the code from your Api but nothing happens
What's my mistake?

void DisonnectAll(){

foreach (var connection in BoltNetwork.connections) {
connection.Disconnect ();
}
}

void Update(){

//Test Timer
Timer -= 1;
if (Timer <= 0) {
DisonnectAll ();
}
}

Comments