Fix memory leak in bytes.Value (resolve openfl/openfl#2075)

This commit is contained in:
Joshua Granick
2018-11-29 17:07:56 -08:00
parent 18502d49c0
commit 02cdb126eb

View File

@@ -160,6 +160,10 @@ namespace lime {
}
} else if (usingValue.find (this) != usingValue.end ()) {
usingValue.erase (this);
}
b = data;