Ticket #9148: gozer.diff

File gozer.diff, 559 bytes (added by augiedoggie, 12 years ago)

diff by anevilyak that seems to fix the problem

  • src/add-ons/kernel/network/stack/utility.cpp

    diff --git a/src/add-ons/kernel/network/stack/utility.cpp b/src/add-ons/kernel/network/stack/utility.cpp
    index f31656d..c0ab7af 100644
    a b void  
    681681uninit_timers(void)
    682682{
    683683    delete_sem(sTimerWaitSem);
    684     mutex_lock(&sTimerLock);
    685 
    686     mutex_destroy(&sTimerLock);
    687684
    688685    status_t status;
    689686    wait_for_thread(sTimerThread, &status);
    690687
     688    mutex_lock(&sTimerLock);
     689
     690    mutex_destroy(&sTimerLock);
     691
    691692    remove_debugger_command("net_timer", dump_timer);
    692693}
    693694