Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
nni
Commits
6164207e
"driver/vscode:/vscode.git/clone" did not exist on "31ded4ac4bc524acdbf897ffff094d7e7cbed991"
Unverified
Commit
6164207e
authored
Feb 28, 2020
by
Guilherme Nagatomo
Committed by
GitHub
Feb 28, 2020
Browse files
fix invalid typeof check in ObservableTimer#unsubscribe (closes #2100) (#2106)
parent
fadac07d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/nni_manager/common/observableTimer.ts
src/nni_manager/common/observableTimer.ts
+1
-1
No files found.
src/nni_manager/common/observableTimer.ts
View file @
6164207e
...
@@ -19,7 +19,7 @@ class ObservableTimer {
...
@@ -19,7 +19,7 @@ class ObservableTimer {
}
}
public
unsubscribe
(
subscription
:
Rx
.
IDisposable
):
void
{
public
unsubscribe
(
subscription
:
Rx
.
IDisposable
):
void
{
if
(
typeof
subscription
!==
undefined
)
{
if
(
typeof
subscription
!==
'
undefined
'
)
{
subscription
.
dispose
();
subscription
.
dispose
();
}
}
}
}
...
...
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