Skip to content
Snippets Groups Projects
Commit e97522ee authored by rswindell's avatar rswindell
Browse files

Storing the node file (node.dab) descriptor in the scfg_t was a "bad idea" {tm}

The scfg_t instances are often shared between threads and we can't really share
file descriptors between threads, so we ended up with file descriptor leaks and
race conditions.

Instead, define/allocate/free a new js_system_private_t where the scfg_t* and
the nodefile (descriptor) are kept - per "system" instance.
parent 5716774a
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment