Thread: chat messages
View Single Post
  #10  
Old 03-12-2012, 09:01 PM
FG28_Kodiak FG28_Kodiak is offline
Approved Member
 
Join Date: Dec 2009
Location: Swabia->Bavaria->Germany
Posts: 884
Default

The List is not global nor unmanaged nor static, it's exist only in this method (local) and is deleted after the method is leaved (the destructor of the class is automaticaly called), so no Clear is needed.
And if Clear would needed it should be in this case on end of method.

(In your parser-problem the List is global and only deleted after the mission is ended. Thats the difference )

Last edited by FG28_Kodiak; 03-12-2012 at 09:13 PM.
Reply With Quote