Skip to content

Commit bab2b4d

Browse files
author
Abhishek Hingnikar
committed
Fixed the insertion mistake.
Oops.
1 parent be50b92 commit bab2b4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/ImageCache.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ var ImageCache = {
154154
if (_instancePool.length >= kInstancePoolLength) {
155155
_instancePool.popLeastUsed().destructor();
156156
}
157-
_instancePool.push(image);
157+
_instancePool.push(image.getOriginalSrc(), image);
158158
}
159159
return image;
160160
}

0 commit comments

Comments
 (0)