 
 		public function disposeLocalData(waitForUpload : Boolean = true) : void
 		{
+			if (_dataLocked)
+				throw new Error("Stream data can not be disposed since it's locked for update");
 			if (waitForUpload)
 				_localDispose = true;
 			else

		
		public function deleteVertexByIndex(index : uint) : Boolean
		{
			if (index > length)
				return false;


		{
			if (!_invalidMinMax)
				return ;
				
			_invalidMinMax = false;
			
			var size		: uint	= format.dwordsPerVertex;
