mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-08 13:44:59 +00:00
Minor tidying
This commit is contained in:
@@ -138,7 +138,6 @@ class BitmapWrapper < Bitmap
|
||||
end
|
||||
|
||||
|
||||
|
||||
module BitmapCache
|
||||
@cache = ObjectSpace::WeakMap.new
|
||||
|
||||
@@ -154,7 +153,9 @@ module BitmapCache
|
||||
end
|
||||
|
||||
def self.debug
|
||||
File.open("bitmapcache2.txt", "wb") { |f|
|
||||
t = Time.now
|
||||
filename = t.strftime("%H %M %S.%L.txt")
|
||||
File.open("bitmapcache_" + filename, "wb") { |f|
|
||||
for i in @cache.keys
|
||||
k = fromCache(i)
|
||||
if !k
|
||||
|
||||
Reference in New Issue
Block a user