New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
最新运行时1.1.0-beta7在使用同步setup时陷入死循环 #355
Comments
感谢反馈,是在其他进程创建Service吗,还是什么。另请按照规范来提交issue。 |
是在创建Activity,因为这些Activity非常耗内存,必须在单独的进程中运行以节省内存。 |
galenlin
added a commit
that referenced
this issue
Nov 14, 2016
非常感谢! |
问一下,这个更新啥时候能放到maven里边去呢? |
稍后, |
@zhenglibao 已发布,请使用 |
thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
在HostApplication的onCreate中用如下方法初始化
Small.preSetUp(this);
if(!isMainProcess())
{
Small.setUp(this,null);
}
程序将会在Bunndle::loadLaunchableBundles中陷入死循环等待:
line242:
if (synchronous) {
while (sLoading) {
try {
Thread.sleep(100);
} catch (InterruptedException e) {
e.printStackTrace();
}
}
之所依我需要使用同步方式初始化,是因为我的app需要多进程,在第二个进程中必须进行同步初始化才能正常工作。如果在主进程中进行同步初始化也会陷入死循环,请帮忙看看啥问题。
The text was updated successfully, but these errors were encountered: