Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Institute of Technical Acoustics (ITA)
VANet
Commits
92aeda93
Commit
92aeda93
authored
Aug 31, 2017
by
Dipl.-Ing. Jonas Stienen
Browse files
Removing assertion where everything is too late anyway.
parent
dff2fa61
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/VANetServerImpl.cpp
View file @
92aeda93
...
...
@@ -802,7 +802,9 @@ void CVANetServerImpl::RemoveClient( int iClientID, int iStatusCode )
VistaMutexLock
oEventChannelLock
(
*
m_pEventChannelLock
);
VistaMutexLock
oHandlerLock
(
*
m_pEventHandlerLock
);
assert
(
iClientID
>=
0
&&
iClientID
<
(
int
)
m_vecClients
.
size
()
);
if
(
m_vecClients
.
size
()
==
0
)
return
;
// Clients already gone ...
std
::
vector
<
CClientData
>::
iterator
itClient
=
m_vecClients
.
begin
()
+
iClientID
;
#ifdef VANET_SERVER_VERBOSE
...
...
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