Sounds like you are doing just
new item(x, y, z);
without assigning it anywhere..?
I might not be handling this specific case so it’d have to be var temp = new item(...) or anything;
var temp = new item(...)