提交 5ba33dfc 编写于 作者: K Kevin Heifner

Contract destructor call

上级 aaae7167
......@@ -66,7 +66,7 @@ namespace eosio {
#define EOSIO_API_CALL( r, OP, elem ) \
case ::eosio::string_to_name( BOOST_PP_STRINGIZE(elem) ): \
eosio::execute_action( &thiscontract, &OP::elem ); \
return;
break;
#define EOSIO_API( TYPE, MEMBERS ) \
BOOST_PP_SEQ_FOR_EACH( EOSIO_API_CALL, TYPE, MEMBERS )
......@@ -80,7 +80,7 @@ extern "C" { \
switch( action ) { \
EOSIO_API( TYPE, MEMBERS ) \
} \
eosio_exit(0); \
/* does not allow destructor of thiscontract to run: eosio_exit(0); */ \
} \
} \
} \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册