mirror of
https://github.com/asdlokj1qpi233/subconverter.git
synced 2026-11-02 01:33:04 +00:00
Bugs fix
Fix wrong type of alterId in Clash VMess nodes (#325). Fix broken parsing of ShadowsocksR subscription. Fix possible crash when running scripts.
This commit is contained in:
4 files changed
+20
-26
No files matched your search
@@ -1526,15 +1526,12 @@ std::string subconverter(RESPONSE_CALLBACK_ARGS)
|
||||
lExcludeRemarks = string_array{argExcludeRemark};
|
||||
|
||||
/// initialize script runtime
|
||||
if(authorized)
|
||||
if(authorized && !gScriptCleanContext)
|
||||
{
|
||||
ext.js_runtime = new qjs::Runtime();
|
||||
script_runtime_init(*ext.js_runtime);
|
||||
if(!gScriptCleanContext)
|
||||
{
|
||||
ext.js_context = new qjs::Context(*ext.js_runtime);
|
||||
script_context_init(*ext.js_context);
|
||||
}
|
||||
ext.js_context = new qjs::Context(*ext.js_runtime);
|
||||
script_context_init(*ext.js_context);
|
||||
}
|
||||
|
||||
//start parsing urls
|
||||
|
||||
Reference in new issue
Block a user