Browse Source

Merge commit 'd420e28024ad527390b43aa7f64e029083e11989' into develop

Chris Rhodes 7 năm trước cách đây
mục cha
commit
1b5dbef04e
1 tập tin đã thay đổi với 0 bổ sung3 xóa
  1. 0 3
      voice.go

+ 0 - 3
voice.go

@@ -15,7 +15,6 @@ import (
 	"fmt"
 	"log"
 	"net"
-	"runtime"
 	"strings"
 	"sync"
 	"time"
@@ -659,8 +658,6 @@ func (v *VoiceConnection) opusSender(udpConn *net.UDPConn, close <-chan struct{}
 		return
 	}
 
-	runtime.LockOSThread()
-
 	// VoiceConnection is now ready to receive audio packets
 	// TODO: this needs reviewed as I think there must be a better way.
 	v.Lock()