Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
M
mycard
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Packages
Packages
List
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issues
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
syntax_j
mycard
Commits
bcc14508
Commit
bcc14508
authored
Dec 05, 2016
by
神楽坂玲奈
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix
parent
73ceaafc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
app/apps.service.ts
app/apps.service.ts
+3
-2
No files found.
app/apps.service.ts
View file @
bcc14508
...
@@ -382,10 +382,11 @@ export class AppsService {
...
@@ -382,10 +382,11 @@ export class AppsService {
return
return
}
}
let
connection
:
Connection
|
undefined
=
this
.
connections
.
get
(
app
);
let
connection
=
this
.
connections
.
get
(
app
);
if
(
connection
)
{
if
(
connection
)
{
connection
.
connection
.
close
();
connection
.
connection
.
close
();
}
}
console
.
log
(
server
.
url
);
connection
=
{
connection
:
new
WebSocket
(
server
.
url
),
address
:
null
};
connection
=
{
connection
:
new
WebSocket
(
server
.
url
),
address
:
null
};
let
id
:
Timer
|
null
;
let
id
:
Timer
|
null
;
this
.
connections
.
set
(
app
,
connection
);
this
.
connections
.
set
(
app
,
connection
);
...
@@ -395,7 +396,7 @@ export class AppsService {
...
@@ -395,7 +396,7 @@ export class AppsService {
let
[
address
,
port
]
=
args
.
split
(
'
:
'
);
let
[
address
,
port
]
=
args
.
split
(
'
:
'
);
switch
(
action
)
{
switch
(
action
)
{
case
'
LISTEN
'
:
case
'
LISTEN
'
:
(
<
Connection
>
connection
)
.
address
=
args
;
connection
!
.
address
=
args
;
this
.
ref
.
tick
();
this
.
ref
.
tick
();
break
;
break
;
case
'
CONNECT
'
:
case
'
CONNECT
'
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment