commonAPI: save m_pRubyCallbackProc value to allow callback calling more than once