update to singbox 1.8.2

This commit is contained in:
Hiddify
2024-01-21 10:56:55 +00:00
parent d28a856ad8
commit 1b0ed4afc1
2 changed files with 5 additions and 3 deletions

View File

@@ -36,8 +36,8 @@ func NewService(options option.Options) (*libbox.BoxService, error) {
ctx = filemanager.WithDefault(ctx, sWorkingPath, sTempPath, sUserID, sGroupID)
urlTestHistoryStorage := urltest.NewHistoryStorage()
ctx = service.ContextWithPtr(ctx, urlTestHistoryStorage)
pauseManager := pause.NewDefaultManager(ctx)
ctx = pause.ContextWithManager(ctx, pauseManager)
pauseManager := pause.WithDefaultManager(ctx)
// ctx = pause.ContextWithManager(ctx, pauseManager)
instance, err := B.New(B.Options{
Context: ctx,
Options: options,