Revert "Fixes memory leak in per-thread context"

This reverts commit b69d7046478f6c640a658db4fe088faa935c988d.
1 file changed