Message3571

Author flaviojs
Recipients infrared
Date 2018-04-18.17:04:43
Content
Replacing the contents of 'run_lua' with:

	struct lua_coroutine *co = load_lua_coroutine(target, code);
	while (!resume_lua_coroutine(co)) ;
	lua_pop(get_lua_state(target), 1);
	free(co);
	return 0;

solves the issue, but the return value is lost so it's not a solution.
History
Date User Action Args
2018-04-18 17:04:44flaviojssetrecipients: + infrared
2018-04-18 17:04:44flaviojssetmessageid: <1524071084.1.0.279585004873.issue670@freedroid.org>
2018-04-18 17:04:44flaviojslinkissue670 messages
2018-04-18 17:04:43flaviojscreate