modernuo/Projects/Server/Buffers
Kamron Batman b9d63e4160
fix: Fixes ObjectPropertyList double return issue (#1969)
- Fixes double return issue with object property list that is causing corruption.
- Adds DEBUG_ARRAYPOOL define constant which will crash on double return or invalid return scenarios.

> [!IMPORTANT]
> **Developer Notes**
> STArrayPool rented arrays **MUST NOT** be returned **ONLY ONCE** otherwise there will be corruption from double-use.
> Use `DEBUG_ARRAYPOOL` to test potential broken STArrayPool use cases.

> [!NOTE]
> **Why can't I enable the debug all the time?**
> Other than the fact that it will crash due to bad code, the actual tracking system is highly detrimental/problematic for performance and memory consumption by creating objects that have a stack trace.
2024-10-07 21:21:21 -07:00
..
PooledArraySpanFormattable.cs chore: Updates copyright (#1448) 2023-08-09 09:09:26 -07:00
RawInterpolatedStringHandler.cs feat: Adds optimized dynamic/static layout gumps (#1652) 2024-04-25 22:40:30 -07:00
SpanReader.cs fix: Fixes reading incoming string packets (#1819) 2024-06-03 14:49:26 -07:00
SpanWriter.cs fix: Improves STArray and SpanWriter with packets (#1736) 2024-04-21 20:44:25 -07:00
STArrayPool.cs fix: Fixes ObjectPropertyList double return issue (#1969) 2024-10-07 21:21:21 -07:00
ValueStringBuilder.cs feat: Customize expansion and set maps on first boot (#1425) 2023-07-31 20:46:49 -07:00