diff Lib/IMPL/Profiler/Memory.pm @ 189:08015e2803f1

IMPL::Vew::Web - fixed memory leaks, more tests
author cin
date Wed, 04 Apr 2012 02:49:45 +0400
parents 029c9610528c
children cd1ff7029a63
line wrap: on
line diff
--- a/Lib/IMPL/Profiler/Memory.pm	Tue Apr 03 20:08:42 2012 +0400
+++ b/Lib/IMPL/Profiler/Memory.pm	Wed Apr 04 02:49:45 2012 +0400
@@ -78,7 +78,7 @@
 
 sub Dump {
 	my $this = shift;
-	return Data::Dumper->Dump($this->{objects});
+	return Data::Dumper->Dump([$this->{objects}]);
 }
 
 sub isLeak {