Skip to content
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

在主程序里面停graph的时候没有完全停止 #27

Open
1518515254 opened this issue May 27, 2024 · 1 comment
Open

在主程序里面停graph的时候没有完全停止 #27

1518515254 opened this issue May 27, 2024 · 1 comment

Comments

@1518515254
Copy link

我这边重写了一下demo里面的主程序,然后主动去通过engine.stop停止一个graph的时候发现不能完全停止。还是会有video的内存资源被主程序的进程占用,然后当我想根据graph的id重写启动这个graph的时候也启动不起来而且启动的时候不会报错。只有用Ctrl+C把主程序杀掉被占用的video内存资源才会被释放掉。这个可能是什么原因?是我停止graph的方式不对吗?还是说正常启动多个graph(配置文件不同)的时候需要用多线程去启

@Yi-sir
Copy link

Yi-sir commented May 31, 2024

我们在实际用的时候没有使用多graph的情况,这部分代码还不能保证完全健壮,暂时不推荐这样用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants