Note: This website is archived. For up-to-date information about D projects and development, please visit wiki.dlang.org.

Changeset 512

Show
Ignore:
Timestamp:
01/15/11 20:26:36 (14 years ago)
Author:
braddr
Message:

Remove another catch(Object)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/core/thread.d

    r511 r512  
    423423            try 
    424424            { 
    425425                rt_moduleTlsCtor(); 
    426426                try 
    427427                { 
    428428                    obj.run(); 
    429429                } 
    430430                catch( Throwable t ) 
    431431                { 
    432432                    append( t ); 
    433                 } 
    434                 catch( Object o ) 
    435                 { 
    436                     // TODO: Remove this once the compiler prevents it. 
    437433                } 
    438434                rt_moduleTlsDtor(); 
    439435            } 
    440436            catch( Throwable t ) 
    441437            { 
    442438                append( t ); 
    443439            } 
    444440 
    445441            // NOTE: Normal cleanup is handled by scope(exit). 
    446442