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