mirror of
https://github.com/atom/atom.git
synced 2026-01-22 13:28:01 -05:00
Temporarily workaround for slow net.connect, fixes #1429.
This commit is contained in:
@@ -39,6 +39,10 @@ class AtomApplication
|
||||
createAtomApplication()
|
||||
return
|
||||
|
||||
# The net.connect is slow in atom-shell for now, use this workaround until
|
||||
# atom/atom-shell#159 is fixed.
|
||||
process.activateUvLoop()
|
||||
|
||||
client = net.connect {path: socketPath}, ->
|
||||
client.write JSON.stringify(options), ->
|
||||
client.end()
|
||||
|
||||
Reference in New Issue
Block a user