Tencent / mars

Mars is a cross-platform network component developed by WeChat.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

StnManager never initialized

zxp2010 opened this issue · comments

The global cache not contain StnManager object.

StnManager* stn_manager = Context::CreateContext("default")->GetManager()

Maybe dismiss init function
Context::CreateContext("default")->AddManager(*StnManager)

It look like use JNI JNINativeMethod API.

Mutil Instance Inspect.
Must define Java class :
Context<com/tencent/mars/app/Context>,
AppManager<com/tencent/mars/app/AppManager>,
SdtManager<com/tencent/mars/sdt/SdtManager>,
StnManager<com/tencent/mars/stn/StnManager>