095e05e927
Make Memory use a recursive mutex.
...
This allows some additional operations to be performed inside the memory
hooks, although it's still a bad idea to allocate or free memory while
inside the hook.
2023-06-04 18:44:37 +00:00
efb27c9db8
Push Main return value into MainArgs.
...
This prevents weird things from happing on some architectures.
2023-05-26 21:05:06 +00:00
836229fd1a
Don't log anything at the end of main; user may have redirected and closeed stream.
...
This would cause a segfault.
2023-05-24 23:32:53 +00:00
2693b89598
Add sane default memory hook to Cytoplasm, fix more leaks in json.
2023-05-23 22:43:37 +00:00
f2f972bb9d
Fix memory leaks in hdoc.
2023-05-15 22:38:52 +00:00
5c8a42117c
Import new Cytoplasm library based off of code from Telodendria.
...
Telodendria doesn't use this library yet, but it will soon.
2023-05-13 17:30:09 +00:00