Function GodotObject.disconnect

Disconnects a signal from a method on the given target. If you try to disconnect a connection that does not exist, the method will throw an error. Use isConnected to ensure that the connection exists.

void disconnect (
  const(String) signal,
  GodotObject target,
  const(String) method
) nothrow @nogc;