We won't attempt to destroy this wrapper later because m_kind gets set to NullPointer. If any fields of the CallableType are not movable, this results in a leak. A test replicating the issue before the fix is added to a new TestFunction.cpp file.