Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
mpd
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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Иван Мажукин
mpd
Commits
281461f0
Commit
281461f0
authored
Feb 15, 2019
by
Max Kellermann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
nfs: work around assertion failure on exception during program init
Closes #477
parent
f70eb638
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
Manager.cxx
src/lib/nfs/Manager.cxx
+2
-2
NfsStorage.cxx
src/storage/plugins/NfsStorage.cxx
+1
-1
No files found.
src/lib/nfs/Manager.cxx
View file @
281461f0
...
...
@@ -73,7 +73,7 @@ NfsManager::Compare::operator()(const ManagedConnection &a,
NfsManager
::~
NfsManager
()
noexcept
{
assert
(
GetEventLoop
().
IsInside
());
assert
(
!
GetEventLoop
().
IsAlive
()
||
GetEventLoop
().
IsInside
());
CollectGarbage
();
...
...
@@ -103,7 +103,7 @@ NfsManager::GetConnection(const char *server, const char *export_name) noexcept
void
NfsManager
::
CollectGarbage
()
noexcept
{
assert
(
GetEventLoop
().
IsInside
());
assert
(
!
GetEventLoop
().
IsAlive
()
||
GetEventLoop
().
IsInside
());
garbage
.
clear_and_dispose
(
DeleteDisposer
());
}
...
...
src/storage/plugins/NfsStorage.cxx
View file @
281461f0
...
...
@@ -192,7 +192,7 @@ private:
}
void
Disconnect
()
noexcept
{
assert
(
GetEventLoop
().
IsInside
());
assert
(
!
GetEventLoop
().
IsAlive
()
||
GetEventLoop
().
IsInside
());
switch
(
state
)
{
case
State
:
:
INITIAL
:
...
...
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