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

[BUG] is_property_exist and is_cmd_connected apis cannot be called in async functions in Python Extension #209

Closed
sunxilin opened this issue Oct 28, 2024 · 0 comments · Fixed by #211
Assignees
Labels
bug Something isn't working

Comments

@sunxilin
Copy link
Collaborator

Description

is_property_exist 和 is_cmd_connected 这两个api如果在非extension线程被调用会abort,需要修改他们的实现改成 ten_env.notify()

Environment

all

Steps to reproduce

在async on_start里调用is_property_exist

Expected behavior

能够正常同步返回结果

Actual behavior

assert导致进程abort退出

Version

0.3.0

Severity

Critical

Additional Information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant