Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
D
douban-api-proxy
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
captainwong
douban-api-proxy
Commits
919de60e
Commit
919de60e
authored
Sep 08, 2018
by
OzzieIsaacs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Final fix #615
parent
a5d15a19
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
web.py
cps/web.py
+3
-3
No files found.
cps/web.py
View file @
919de60e
...
...
@@ -1739,7 +1739,6 @@ def shutdown():
db
.
engine
.
dispose
()
ub
.
session
.
close
()
ub
.
engine
.
dispose
()
# stop gevent server
showtext
=
{}
if
task
==
0
:
...
...
@@ -1748,6 +1747,7 @@ def shutdown():
else
:
showtext
[
'text'
]
=
_
(
u'Performing shutdown of server, please close window'
)
server
.
Server
.
setRestartTyp
(
False
)
# stop gevent/tornado server
server
.
Server
.
stopServer
()
return
json
.
dumps
(
showtext
)
else
:
...
...
@@ -2750,8 +2750,8 @@ def view_configuration():
config
.
loadSettings
()
if
reboot_required
:
# db.engine.dispose() # ToDo verify correct
ub
.
session
.
close
()
ub
.
engine
.
dispose
()
#
ub.session.close()
#
ub.engine.dispose()
# stop Server
server
.
Server
.
setRestartTyp
(
True
)
server
.
Server
.
stopServer
()
...
...
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