internal virtual void OnBackendChanged(ApplicationBackend oldBackend) { if (!initialized) return; Gtk.Widget w = book.GetNthPage (0); book.RemovePage (0); w.Destroy (); socket.Dispose (); ConnectPlug (); }