|
|
|
@ -342,8 +342,10 @@ public enum BuildingManager {
@@ -342,8 +342,10 @@ public enum BuildingManager {
|
|
|
|
|
// Remove any cooking items from collections
|
|
|
|
|
// to ensure we don't leak memory.
|
|
|
|
|
|
|
|
|
|
for (Item item : workOrder.cooking) |
|
|
|
|
for (Item item : workOrder.cooking) { |
|
|
|
|
DbManager.removeFromCache(item); |
|
|
|
|
ForgeManager.itemWorkOrderLookup.remove(item); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
DbManager.WarehouseQueries.DELETE_WORKORDER(workOrder); |
|
|
|
|
} |
|
|
|
|