diff --git a/lib/wp/proxy.c b/lib/wp/proxy.c
index 025507ba3e75c46949bd3e79775657d067add790..c5082f1535ad9534a4c3311f9d226e16071f9fb0 100644
--- a/lib/wp/proxy.c
+++ b/lib/wp/proxy.c
@@ -51,11 +51,11 @@ proxy_event_destroy (void *data)
 {
   WpProxyPrivate *self = wp_proxy_get_instance_private (WP_PROXY(data));
 
-  /* Emit the destroy signal */
-  g_signal_emit (data, wp_proxy_signals[SIGNAL_DESTROYED], 0);
-
   /* Set the proxy to NULL */
   self->proxy = NULL;
+
+  /* Emit the destroy signal */
+  g_signal_emit (data, wp_proxy_signals[SIGNAL_DESTROYED], 0);
 }
 
 static void