Browse Source

change ivexit. fix bug.

yuchuli 2 years ago
parent
commit
d627ab008d
1 changed files with 2 additions and 0 deletions
  1. 2 0
      src/common/ivexit/ivexit.cpp

+ 2 - 0
src/common/ivexit/ivexit.cpp

@@ -41,6 +41,7 @@ public:
         iv::modulecomm::RegisterRecvPlus(mstrsysname,funexit);
 
         mbcommonexit = bcommonexit;
+        return NULL;
     }
 
     void * RegIVExitCallPlus(IVExitFun xFun,bool bcommonexit)
@@ -50,6 +51,7 @@ public:
         ModuleFun funexit = std::bind(&ivexit_impl::ExitFunc,this,std::placeholders::_1,std::placeholders::_2,std::placeholders::_3,std::placeholders::_4,std::placeholders::_5);
         iv::modulecomm::RegisterRecvPlus(mstrsysname,funexit);
         mbcommonexit = bcommonexit;
+        return NULL;
     }
 
     void ExitFunc(const char * strdata,const unsigned int nSize,const unsigned int index,const QDateTime * dt,const char * strmemname)