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
I
iTasks-SDK
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
73
Issues
73
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
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
clean-and-itasks
iTasks-SDK
Commits
6d18889f
Commit
6d18889f
authored
Jun 19, 2018
by
Steffen Michels
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
clear SDS registrations when watch task is destroyed
parent
202d0588
Pipeline
#12328
passed with stage
in 2 minutes and 49 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
Libraries/iTasks/WF/Tasks/SDS.icl
Libraries/iTasks/WF/Tasks/SDS.icl
+5
-5
No files found.
Libraries/iTasks/WF/Tasks/SDS.icl
View file @
6d18889f
...
...
@@ -8,7 +8,8 @@ import iTasks.Internal.Task
import
iTasks
.
Internal
.
TaskState
import
iTasks
.
Internal
.
TaskEval
import
qualified
iTasks
.
Internal
.
SDS
as
SDS
import
StdString
import
StdString
,
Data
.
Func
,
Data
.
Error
import
qualified
Data
.
Set
as
DS
instance
toString
SharedException
where
...
...
@@ -57,10 +58,9 @@ where
Ok
val
=
ValueResult
(
Value
val
False
)
{
TaskEvalInfo
|
lastEvent
=
ts
,
removedTasks
=[],
refreshSensitive
=
True
}
(
rep
event
)
(
TCInit
taskId
ts
)
Error
e
=
ExceptionResult
e
=
(
res
,
iworld
)
eval
event
repAs
(
TCDestroy
_)
iworld
=
(
DestroyedResult
,
iworld
)
eval
event
repAs
ttree
=:(
TCDestroy
_)
iworld
#
iworld
=
'
SDS
'.
clearTaskSDSRegistrations
('
DS
'.
singleton
$
fromOk
$
taskIdFromTaskTree
ttree
)
iworld
=
(
DestroyedResult
,
iworld
)
rep
ResetEvent
=
ReplaceUI
(
ui
UIEmpty
)
rep
_
=
NoChange
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