Index: lib/OpenLayers/Layer/Vector.js
===================================================================
--- lib/OpenLayers/Layer/Vector.js	(revision 3066)
+++ lib/OpenLayers/Layer/Vector.js	(working copy)
@@ -26,7 +26,7 @@
     features: null,
     
     /** @type Array(OpenLayers.Feature.Vector) */
-    selectedFeatures: [],
+    selectedFeatures: null,
 
     /** @type {Boolean} */
     reportError: true, 
@@ -252,8 +252,10 @@
     },
 
     /**
+     * Destroy all features on the layer and empty the selected features array.
      */
     destroyFeatures: function () {
+        this.selectedFeatures = new Array();
         for (var i = this.features.length - 1; i >= 0; i--) {
             this.features[i].destroy();
         }
