Fix problem with m_localPool and m_globalPool

m_localPool and m_globalPool are somehow getting cleared after being
set in the constructor.