moved the IBASE from the base class to the subclasses and made it an embedded ibase. The previous let one register an inputdriver as an eventhandler but the refcount was never incremented (because it was an ibase and not embedded ibase). thus it led to a deleted inputdriver while the eventqueue still had the listeners registered (which caused the crash at exit since the eventqueue decrefs the listeners at destruction time). erm, did that explain anything ?
moved the IBASE from the base class to the subclasses and made it an embedded ibase. The previous let one register an inputdriver as an eventhandler but the refcount was never incremented (because it was an ibase and not embedded ibase). thus it led to a deleted inputdriver while the eventqueue still had the listeners registered (which caused the crash at exit since the eventqueue decrefs the listeners at destruction time). erm, did that explain anything ?


git-svn-id: 28d9401aa571d5108e51b194aae6f24ca5964c06@8002 8cc4aa7f-3514-0410-904f-f2cc9021211c

crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS,crystalspace/CS