Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
arsnova-click-v2-backend
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
ARSnova
arsnova-click-v2-backend
Commits
6535cccb
Commit
6535cccb
authored
Sep 08, 2019
by
Christopher Mark Fullarton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes deleting exchanges
parent
8aac6a76
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
src/entities/quiz/QuizEntity.ts
src/entities/quiz/QuizEntity.ts
+4
-1
No files found.
src/entities/quiz/QuizEntity.ts
View file @
6535cccb
...
...
@@ -212,7 +212,10 @@ export class QuizEntity extends AbstractEntity implements IQuizEntity {
status
:
StatusProtocol
.
Success
,
step
:
MessageProtocol
.
Closed
,
})));
AMQPConnector
.
channel
.
deleteExchange
(
this
.
_exchangeName
).
catch
(()
=>
{});
try
{
AMQPConnector
.
channel
.
checkExchange
(
this
.
_exchangeName
).
then
(()
=>
AMQPConnector
.
channel
.
deleteExchange
(
this
.
_exchangeName
));
}
catch
{
}
}
public
reset
():
void
{
...
...
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