Changeset 701 in vbox
- Timestamp:
- Feb 6, 2007 11:07:11 AM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 18339
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Network/DrvNAT.cpp
r700 r701 207 207 int slirp_can_output(void) 208 208 { 209 Assert(RTCritSectIsOwner(&g_pDrv->CritSect)); 209 /** Happens during termination */ 210 if (!RTCritSectIsOwner(&g_pDrv->CritSect)) 211 return 0; 210 212 211 213 if (g_pDrv) … … 227 229 if (g_pDrv) 228 230 { 229 Assert(RTCritSectIsOwner(&g_pDrv->CritSect)); 231 /** Happens during termination */ 232 if (!RTCritSectIsOwner(&g_pDrv->CritSect)) 233 return 0; 234 230 235 int rc = g_pDrv->pPort->pfnReceive(g_pDrv->pPort, pu8Buf, cb); 231 236 AssertRC(rc);
Note:
See TracChangeset
for help on using the changeset viewer.