/* You SHOULD use this when you quit. x := NewXmms2Client("test") x.Connect("somewhere") defer x.Unref() defer x.ResultUnref() os.Exit(0) */ func (x *Xmms2Client) Unref() { C.xmmsc_unref(x.connection) }
func (c *Connector) UnRef() { C.xmmsc_unref(c.export()) }