forked from External/ergo
import changes
This commit is contained in:
parent
30f47a9b22
commit
ca62b268b0
16 changed files with 272 additions and 34 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue