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] CoverDispatcher被oplog缓存 #74

Open
RF-Tar-Railt opened this issue Dec 12, 2023 · 1 comment
Open

[Bug] CoverDispatcher被oplog缓存 #74

RF-Tar-Railt opened this issue Dec 12, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@RF-Tar-Railt
Copy link
Member

publishEvent的upper_event参数传入后会创建一个CoverDispatcher实例,但是这个实例会被oplog所缓存,导致在后继相同类型的事件下listener拿到的还是第一个事件的内容

@RF-Tar-Railt RF-Tar-Railt added the bug Something isn't working label Dec 12, 2023
@GreyElaina
Copy link
Member

oplog 用 weakref 可能是比较好的。

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
None yet
Development

No branches or pull requests

2 participants