Skip to content

IPackClient有一个小问题 #327

Description

@hmuyin2

ParsePack
pInfo->header = !pInfo->header;
pInfo->length = required;

如果当第一次循环,header 被置为false时,正巧调用了Stop()或正巧在回调同线程中调用了Stop(),那么会导致重连后的第一个数据回调不正常。建议Stop后m_pkInfo.Reset();一下。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions