1
0
Fork 0
forked from External/ergo

import changes

This commit is contained in:
Failure 2024-07-24 17:10:22 -07:00
parent 30f47a9b22
commit ca62b268b0
16 changed files with 272 additions and 34 deletions

View file

@ -96,6 +96,9 @@ type Server struct {
semaphores ServerSemaphores
flock flock.Flocker
defcon atomic.Uint32
// CEF
cefManager *CefConnection
}
// NewServer returns a new Oragono server.
@ -163,6 +166,8 @@ func (server *Server) Shutdown() {
func (server *Server) Run() {
defer server.Shutdown()
server.cefManager = cefConnection(server)
for {
select {
case <-server.exitSignals: