Fix xray panic

This commit is contained in:
arm64v8a
2023-08-25 13:59:30 +09:00
parent 69c1d01773
commit a39dc4a610
2 changed files with 2 additions and 3 deletions

View File

@@ -3,7 +3,6 @@ package main
import (
"log"
"strings"
"unsafe"
core "github.com/xtls/xray-core/core"
"github.com/xtls/xray-core/features/stats"
@@ -41,7 +40,7 @@ func NewNekoV2rayInstance(configStr string) (*NekoV2RayInstance, error) {
}
func (i *NekoV2RayInstance) CorePtr() uintptr {
return uintptr(unsafe.Pointer(i.Instance))
return 0
}
func (i *NekoV2RayInstance) Close() error {

View File

@@ -1,6 +1,6 @@
if [ ! -z $ENV_NEKORAY ]; then
export COMMIT_SING_BOX_EXTRA="3c5d4ae9b771f216bc0eeabdf19d840c77e29858"
export COMMIT_MATSURI_XRAY="02b41a79b8053031ffa6a546ae0de08c553bf391"
export COMMIT_MATSURI_XRAY="92a8a7f4650fd2e904cd273dee7f5e77271b29de"
fi
if [ ! -z $ENV_SING_BOX_EXTRA ]; then