Skip to content

Commit c441126

Browse files
committed
fixed lock issues
1 parent 61c6832 commit c441126

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

cls/SourceControl/Git/PullEventHandler/IncrementalLoad.cls

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,3 +71,4 @@ Method DeleteFile(item As %String) As %Status
7171
}
7272

7373
}
74+

cls/SourceControl/Git/Settings.cls

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,3 +210,4 @@ Method OnAfterConfigure() As %Boolean
210210
}
211211

212212
}
213+

cls/SourceControl/Git/WebUIDriver.cls

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ ClassMethod HandleRequest(pagePath As %String, InternalName As %String = "", Out
109109
set readOnlyCommands = $listbuild("branch","tag","log","ls-files","ls-tree","show","status","diff")
110110
set baseCommand = $Piece(args(1)," ")
111111

112-
if '$listfind(readOnlyCommands,baseCommand) {
112+
if $listfind(readOnlyCommands,baseCommand) {
113113
do %session.Unlock()
114114
}
115115

csp/webuidriver.csp

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,17 +19,19 @@
1919
} catch e {
2020
// ignore; may occur on platform versions without the above properties
2121
}
22-
do %session.Unlock()
22+
2323

2424
// Serve static content when appropriate.
2525
// index.html
2626
if (url = %base) || (url = $Extract(%base,1,*-1)) {
27+
do %session.Unlock()
2728
do %request.Set("FILE","/isc/studio/usertemplates/gitsourcecontrol/index.html")
2829
set %stream = 1
2930
quit 1
3031
}
3132
// other static resources
3233
if $Match(url,"^(.*/img/.*|.*\.(js|map|html|css|woff|woff2))$") {
34+
do %session.Unlock()
3335
do %request.Set("FILE","/isc/studio/usertemplates/gitsourcecontrol/"_$Piece(url,%base,2,*))
3436
kill %base
3537
set %stream = 1

0 commit comments

Comments
 (0)