Opened 11 years ago

Closed 11 years ago

Last modified 11 years ago

#1945 closed defect (fixed)

[PATCH] AI sometimes forgets to call ProfileStop

Reported by: Markus Owned by: wraitii
Priority: Should Have Milestone: Alpha 14
Component: UI & Simulation Keywords: patch
Cc: Patch:

Description

As found out in #1939 the profiler corruption is done by not calling ProfileStop after the ProfileStart.

From the other ticket I got the hint to look unter aegis bot, so I reviewed the whole binaries/data/mods/public/simulation/ai folder regarding the usage of the profiler.

Attachments (1)

add-missed-profiler-stop-calls-in-ai.patch (4.5 KB ) - added by Markus 11 years ago.

Download all attachments as: .zip

Change History (3)

comment:1 by wraitii, 11 years ago

Owner: set to wraitii
Resolution: fixed
Status: newclosed

In 13425:

Fix Aegis breaking the profiler after some time (Fixes #1945. Fix typo (Fixes #1947). Patches by Markus.
Also one other fix for something attack related (probably, code is old and I can't recall).

comment:2 by historic_bruno, 11 years ago

Keywords: review removed
Note: See TracTickets for help on using tickets.